diff --git a/src/main.cpp b/src/main.cpp index f3ab35d..4cebf1f 100644 --- a/src/main.cpp +++ b/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;