Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
D
domotikad
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
domotika
domotikad
Commits
a9c163b2
Commit
a9c163b2
authored
Jan 31, 2014
by
nextime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Let's analogs from ikaprotocol send negative values!
parent
94f41a30
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ikapserver.py
domotika/ikapserver.py
+2
-2
No files found.
domotika/ikapserver.py
View file @
a9c163b2
...
...
@@ -251,9 +251,9 @@ class DomIkaBaseProtocol(object):
rawinp
=
rawio
[
16
:
28
]
if
baseboard_type
==
C
.
BOARD_WORKER_12R12I_v3
:
self
.
core
.
setAnalogStatus
(
src
,
host
,
port
,
ptype
,
1
,
struct
.
unpack
(
'<
H
'
,
struct
.
pack
(
'<2B'
,
*
astr
[
9
:
11
]))[
0
])
struct
.
unpack
(
'<
h
'
,
struct
.
pack
(
'<2B'
,
*
astr
[
9
:
11
]))[
0
])
self
.
core
.
setAnalogStatus
(
src
,
host
,
port
,
ptype
,
2
,
struct
.
unpack
(
'<
H
'
,
struct
.
pack
(
'<2B'
,
*
astr
[
11
:
13
]))[
0
])
struct
.
unpack
(
'<
h
'
,
struct
.
pack
(
'<2B'
,
*
astr
[
11
:
13
]))[
0
])
rawamp
=
astr
[
13
:
25
]
else
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment