fix correction on top of compensation

This commit is contained in:
samuelbles07 committed 2024-11-18 19:53:28 +07:00
1 parent 9f08af44b0
commit 1b4d89e1a1
1 file changed
+1 -1
+1 -1
View File
@@ -562,7 +562,7 @@ float Measurements::getCorrectedPM25(AirGradient &ag, Configuration &config, boo
pmCorrection.intercept);
if (pmCorrection.useEPA) {
// Add EPA compensation on top of SLR
corrected = ag.pms5003.compensate(pm25, humidity);
corrected = ag.pms5003.compensate(corrected, humidity);
}
}
}