Browse Source

sds use query reporting mode (2)

main
Hendrik Langer 5 years ago
parent
commit
22bcd89943
  1. 2
      src/main.cpp

2
src/main.cpp

@ -362,7 +362,7 @@ void getSensorMeasurements() {
}
if (sensors_active.sds) {
PmResult pm = sds.readPm();
PmResult pm = sds.queryPm();
if (pm.isOk()) {
sensor_readings.pm10 = pm.pm10;
sensor_readings.pm25 = pm.pm25;

Loading…
Cancel
Save