Acurite minor bugfixes
authorRoman Bazalevsky <rvb@rvb.name>
Mon, 8 Dec 2014 10:54:41 +0000 (13:54 +0300)
committerRoman Bazalevsky <rvb@rvb.name>
Mon, 8 Dec 2014 10:54:41 +0000 (13:54 +0300)
src/rtl_433.c

index bee0e4d3824f92aa7ce2b4f82d5f4a0bcfd74da8..49701eb5db4b9cbdc54b7dc1ad6815b4eca47c31 100755 (executable)
@@ -604,7 +604,7 @@ static int acurite5n1_callback(uint8_t bb[BITBUF_ROWS][BITBUF_COLS]) {
             fprintf(stdout, ",HUMIDITY=%d\n", 
                 acurite_getHumidity(buf[6]));
         } else {
             fprintf(stdout, ",HUMIDITY=%d\n", 
                 acurite_getHumidity(buf[6]));
         } else {
-            fprintf(stdout,",DATA=UNKNOWN");
+            fprintf(stdout,",DATA=UNKNOWN\n");
         } 
     }
     //if (debug_output)
         } 
     }
     //if (debug_output)