mirror of
https://github.com/airgradienthq/arduino.git
synced 2025-07-30 17:07:16 +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);
|
pmCorrection.intercept);
|
||||||
if (pmCorrection.useEPA) {
|
if (pmCorrection.useEPA) {
|
||||||
// Add EPA compensation on top of SLR
|
// 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