diff --git a/usrc/h2o2_sensor.cpp b/usrc/h2o2_sensor.cpp index 3f3cae7..9a57042 100644 --- a/usrc/h2o2_sensor.cpp +++ b/usrc/h2o2_sensor.cpp @@ -81,9 +81,9 @@ typedef struct { hpp272_data_t* H2O2Sensor::readSensorData() { sensordatacache.hydrogen_peroxide_volume = 0; - sensordatacache.h2o_h2o2_rs = 1 * 100; + sensordatacache.h2o_h2o2_rs = 0; sensordatacache.temperature1 = 20 * 100; - sensordatacache.relative_humidity = 31 * 100; + sensordatacache.relative_humidity = 0; static uint16_t rxbuf[128]; static hmp110_sensordata_t sensordata; diff --git a/usrc/main.cpp b/usrc/main.cpp index 9821b4c..4730963 100644 --- a/usrc/main.cpp +++ b/usrc/main.cpp @@ -222,6 +222,6 @@ void Main::run() { ZLOGI(TAG, "init done"); while (1) { ZHALCORE::getInstance()->loop(); - // m_h2o2_sensor.readSensorData(); + m_h2o2_sensor.readSensorData(); } }