mirror of
https://github.com/airgradienthq/arduino.git
synced 2025-07-30 00:47:17 +02:00
fix correction on top of compensation
This commit is contained in:
@ -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