From 75f88b00092ba20c70d77e69e48e5cc5730b97cf Mon Sep 17 00:00:00 2001 From: samuelbles07 Date: Sat, 2 Nov 2024 16:15:46 +0700 Subject: [PATCH] Remove slr correction for pms5003t --- src/PMS/PMS5003T.cpp | 4 ---- src/PMS/PMS5003T.h | 1 - 2 files changed, 5 deletions(-) diff --git a/src/PMS/PMS5003T.cpp b/src/PMS/PMS5003T.cpp index e50d58a..27d6313 100644 --- a/src/PMS/PMS5003T.cpp +++ b/src/PMS/PMS5003T.cpp @@ -205,10 +205,6 @@ float PMS5003T::getRelativeHumidity(void) { return pms.getHum() / 10.0f; } -float PMS5003T::slrCorrection(float pm25, float pm003Count, float scalingFactor, float intercept) { - return pms.slrCorrection(pm25, pm003Count, scalingFactor, intercept); -} - /** * @brief Correct PM2.5 * diff --git a/src/PMS/PMS5003T.h b/src/PMS/PMS5003T.h index 4f09e8b..73017e7 100644 --- a/src/PMS/PMS5003T.h +++ b/src/PMS/PMS5003T.h @@ -45,7 +45,6 @@ public: int convertPm25ToUsAqi(int pm25); float getTemperature(void); float getRelativeHumidity(void); - float slrCorrection(float pm25, float pm003Count, float scalingFactor, float intercept); float compensate(float pm25, float humidity); int getFirmwareVersion(void); uint8_t getErrorCode(void);