projects
/
svn42.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64554f1
)
float !
author
Bernhard Tittelbach
<xro@realraum.at>
Sat, 24 Apr 2010 03:08:24 +0000
(
03:08
+0000)
committer
Bernhard Tittelbach
<xro@realraum.at>
Sat, 24 Apr 2010 03:08:24 +0000
(
03:08
+0000)
serial_console/sample_sensors.c
patch
|
blob
|
history
diff --git
a/serial_console/sample_sensors.c
b/serial_console/sample_sensors.c
index
0a21c3e
..
29d3b0e
100644
(file)
--- 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;