Code Review
/
apps
/
hvac.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
|
inline
| side by side (parent:
24484d3
)
Fix reverse fanspeed value since test over a real fan at f2f
57/7657/1
author
Romain Forlot
<romain.forlot@iot.bzh>
Fri, 16 Dec 2016 02:52:28 +0000
(
02:52
+0000)
committer
Romain Forlot
<romain.forlot@iot.bzh>
Fri, 16 Dec 2016 02:52:28 +0000
(
02:52
+0000)
Change-Id: I4d1a952cc21311847975071aaab7f5d0aadd2eb9
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
binding/hvac-demo-binding.c
patch
|
blob
|
history
diff --git
a/binding/hvac-demo-binding.c
b/binding/hvac-demo-binding.c
index
14af56b
..
96b448a
100644
(file)
--- a/
binding/hvac-demo-binding.c
+++ b/
binding/hvac-demo-binding.c
@@
-137,7
+137,7
@@
static uint8_t read_temp()
static uint8_t read_fanspeed()
{
static uint8_t read_fanspeed()
{
- return hvac_values[3].value;
+ return hvac_values[3].value
^ 0xFF
;
}
static int write_can()
}
static int write_can()