Add support board DIY Pro 3.7 and add example

This commit is contained in:
Phat Nguyen
2024-06-20 11:34:23 +07:00
parent 7560251deb
commit 0119a4d62a
13 changed files with 1099 additions and 77 deletions

View File

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