mirror of
https://github.com/airgradienthq/arduino.git
synced 2025-07-14 00:16:31 +02:00
[fix] build fail on example BASIC
This commit is contained in:
@ -20,7 +20,7 @@ String Measurements::toString(bool localServer, AgFirmwareMode fwMode, int rssi,
|
||||
}
|
||||
|
||||
if (ag->isOne() || (ag->getBoardType() == DIY_PRO_INDOOR_V4_2)) {
|
||||
if (config->hasSensorPMS1 || config->hasSensorPMS) {
|
||||
if (config->hasSensorPMS1) {
|
||||
if (this->pm01_1 >= 0) {
|
||||
root["pm01"] = this->pm01_1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user