This commit is contained in:
Phat Nguyen
2024-06-19 15:17:48 +07:00
parent c8745e123b
commit f25f816428
25 changed files with 2122 additions and 279 deletions

View File

@ -19,7 +19,7 @@ String Measurements::toString(bool localServer, AgFirmwareMode fwMode, int rssi,
}
}
if (ag->isOne() || (ag->getBoardType() == DIY_PRO_INDOOR_V4_2)) {
if (ag->isOne() || (ag->isPro4_2())) {
if (config->hasSensorPMS1) {
if (this->pm01_1 >= 0) {
root["pm01"] = this->pm01_1;