From: Bernhard Tittelbach Date: Sat, 24 Apr 2010 03:08:24 +0000 (+0000) Subject: float ! X-Git-Url: https://git.realraum.at/?p=svn42.git;a=commitdiff_plain;h=0d522cfda852c783fb28472f0cacfc282b72f002 float ! --- 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;