From: Roman Bazalevsky Date: Mon, 8 Dec 2014 10:35:22 +0000 (+0300) Subject: Accurite sensor - minor bugfixes. X-Git-Url: https://git.rvb.name/rtl-433.git/commitdiff_plain/25b624169a19b22b938f5b80651e8f6cd7da092f?hp=d5b5dd6be86814fee27bc642d97ca522f079a3d0 Accurite sensor - minor bugfixes. --- 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);