From 0c31e9977658e318a5a2a6595e8cb4a293701209 Mon Sep 17 00:00:00 2001 From: Fisch Date: Sun, 7 Nov 2021 11:05:25 +0100 Subject: [PATCH] fix compile errors --- include/sensor_sds018.h | 2 -- src/main.cpp | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/include/sensor_sds018.h b/include/sensor_sds018.h index 31e3b17..ab4573b 100644 --- a/include/sensor_sds018.h +++ b/include/sensor_sds018.h @@ -29,8 +29,6 @@ private: unsigned long lastread_sds018=0; //to save last read time for both readings - void readSDS018(); - void loop_pm25(); void loop_pm10(); void readSDS018(); diff --git a/src/main.cpp b/src/main.cpp index 7b22426..3b88641 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -837,8 +837,7 @@ void loopHandler() { #endif #ifdef SENSOR_SDS018 - loop_SDS018_pm25(); - loop_SDS018_pm10(); + sensor_sds018.sensorloop(); #endif #ifdef SENSOR_TCS34725