From 25b624169a19b22b938f5b80651e8f6cd7da092f Mon Sep 17 00:00:00 2001
From: Roman Bazalevsky <rvb@rvb.name>
Date: Mon, 8 Dec 2014 13:35:22 +0300
Subject: [PATCH 1/1] Accurite sensor - minor bugfixes.

---
 src/rtl_433.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/rtl_433.c b/src/rtl_433.c
index ca0a4fe..bee0e4d 100755
--- 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);
-- 
2.34.1