projects
/
weathermon.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Основной цикл отображения - в защищенный вызов на случай неурядиц.
[weathermon.git]
/
bin
/
weathermon-iio
diff --git
a/bin/weathermon-iio
b/bin/weathermon-iio
index dcbca6430d3dc4bc0bfde364be9a1c0d55068043..c5a8102f6f038fc74bb76571b1613e25f6e5c37a 100755
(executable)
--- a/
bin/weathermon-iio
+++ b/
bin/weathermon-iio
@@
-157,7
+157,7
@@
function init_serial_device(device,subsystem,parameters)
if subsystem == "mhz" then
getparameter["function"] = get_mhz
if subsystem == "mhz" then
getparameter["function"] = get_mhz
- getparameter["name"] = "CO2
_
PPM"
+ getparameter["name"] = "CO2PPM"
getparameter["sensor"] = "MHZ19"
parameters[#parameters+1] = getparameter
getparameter["sensor"] = "MHZ19"
parameters[#parameters+1] = getparameter