forked from airgradienthq/arduino
fix correction on top of compensation
This commit is contained in:
1 parent
9f08af44b0
commit
1b4d89e1a1
1 file changed
+1
-1
+1
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user