From 0d522cfda852c783fb28472f0cacfc282b72f002 Mon Sep 17 00:00:00 2001 From: Bernhard Tittelbach Date: Sat, 24 Apr 2010 03:08:24 +0000 Subject: [PATCH] float ! --- serial_console/sample_sensors.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serial_console/sample_sensors.c b/serial_console/sample_sensors.c index 0a21c3e..29d3b0e 100644 --- a/serial_console/sample_sensors.c +++ b/serial_console/sample_sensors.c @@ -61,7 +61,7 @@ unsigned int collect_data(char *buffer, unsigned int size) { if (size >= 8 && strncmp("movement", buffer, 8) == 0) return 1; - else if (check_handle_line(buffer, size, "temp0: ", rrd_temp_, txt_temp_)) + else if (check_handle_line_float(buffer, size, "temp0: ", rrd_temp_, txt_temp_)) return 0; else if (check_handle_line(buffer, size, "photo0: ", rrd_light_, txt_light_)) return 0; -- 1.7.10.4