projects
/
rtl-433.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5b5dd6
)
Accurite sensor - minor bugfixes.
author
Roman Bazalevsky
<rvb@rvb.name>
Mon, 8 Dec 2014 10:35:22 +0000
(13:35 +0300)
committer
Roman Bazalevsky
<rvb@rvb.name>
Mon, 8 Dec 2014 10:35:22 +0000
(13:35 +0300)
src/rtl_433.c
patch
|
blob
|
history
diff --git
a/src/rtl_433.c
b/src/rtl_433.c
index ca0a4fee9538b3182e8fa2ab962fe2b31b9fbbd5..bee0e4d3824f92aa7ce2b4f82d5f4a0bcfd74da8 100755
(executable)
--- a/
src/rtl_433.c
+++ b/
src/rtl_433.c
@@
-603,7
+603,9
@@
static int acurite5n1_callback(uint8_t bb[BITBUF_ROWS][BITBUF_COLS]) {
acurite_getTemp(buf[4], buf[5]));
fprintf(stdout, ",HUMIDITY=%d\n",
acurite_getHumidity(buf[6]));
- }
+ } else {
+ fprintf(stdout,",DATA=UNKNOWN");
+ }
}
//if (debug_output)
// debug_callback(bb);