DB "canary" added - with fail/restart when connection dropped
[weathermon.git] / bin / weathermon-iio
index dcbca6430d3dc4bc0bfde364be9a1c0d55068043..c5a8102f6f038fc74bb76571b1613e25f6e5c37a 100755 (executable)
@@ -157,7 +157,7 @@ function init_serial_device(device,subsystem,parameters)
     if subsystem == "mhz" then
     
       getparameter["function"] = get_mhz 
-      getparameter["name"] = "CO2_PPM"
+      getparameter["name"] = "CO2PPM"
       getparameter["sensor"] = "MHZ19"
       parameters[#parameters+1] = getparameter