fix correction on top of compensation

This commit is contained in:
samuelbles07
2024-11-18 19:53:28 +07:00
parent 9f08af44b0
commit 1b4d89e1a1

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);
}
}
}