mbed Weather Platform firmware http://mbed.org/users/okini3939/notebook/mbed-weather-platform-firmware/
Dependencies: ChaNFSSD EthernetNetIf I2CLEDDisp Agentbed ChaNFSUSB ILinterpreter mbed BMP085 WeatherMeters ConfigFile ChaNFS I2CLCD
Diff: sensor.cpp
- Revision:
- 7:f7c98d836f81
- Parent:
- 6:898c306f7990
--- a/sensor.cpp Sun Jan 15 13:28:12 2012 +0000 +++ b/sensor.cpp Thu Mar 15 02:42:39 2012 +0000 @@ -112,7 +112,6 @@ memset(&sensor, 0, sizeof(sensor)); sensor.sec = time(NULL); sensor_old = sensor; - offset = sensor; // moist sensor or counter if (conf.inputtype == INPUT_MOIST) {