Make PM correction applied for all model

This commit is contained in:
samuelbles07 committed 2025-02-06 15:58:15 +07:00
1 parent 17d2e62b15
commit 1c42ff083d
3 files changed
+55 -61

No files matched your search

+2 -1
View File
@@ -144,9 +144,10 @@ public:
*
* @param useAvg Use moving average value if true, otherwise use latest value
* @param ch MeasurementType channel
* @param forceCorrection force using correction even though config correction is not applied, default to EPA
* @return float Corrected PM2.5 value
*/
float getCorrectedPM25(bool useAvg = false, int ch = 1);
float getCorrectedPM25(bool useAvg = false, int ch = 1, bool forceCorrection = false);
/**
* build json payload for every measurements