forked from airgradienthq/arduino
fix configuration pmStandard value
This commit is contained in:
1 parent
6e1ac26187
commit
5f15e29c76
1 file changed
+1
-1
+1
-1
@@ -281,7 +281,7 @@ bool Configuration::parse(String data, bool isLocal) {
|
||||
bool inUSAQI = true;
|
||||
if (pmStandard == "ugm3") {
|
||||
inUSAQI = false;
|
||||
} else if (pmStandard == "USAQI") {
|
||||
} else if (pmStandard == "us-aqi") {
|
||||
inUSAQI = true;
|
||||
} else {
|
||||
failedMessage = jsonValueInvalidMessage("pmStandard", pmStandard);
|
||||
|
||||
Reference in new issue
Block a user