fix: wrong config key for PM Standard

This commit is contained in:
Phat Nguyen
2024-02-15 19:48:58 +07:00
parent 28e5aa4e69
commit 5602a456a7
5 changed files with 15 additions and 15 deletions

View File

@ -160,9 +160,9 @@ public:
}
}
/** Get "pmsStandard" */
if (JSON.typeof_(root["pmsStandard"]) == "string") {
String standard = root["pmsStandard"];
/** Get "pmStandard" */
if (JSON.typeof_(root["pmStandard"]) == "string") {
String standard = root["pmStandard"];
if (standard == "ugm3") {
inUSAQI = false;
} else {

View File

@ -204,9 +204,9 @@ public:
}
}
/** Get "pmsStandard" */
if (JSON.typeof_(root["pmsStandard"]) == "string") {
String standard = root["pmsStandard"];
/** Get "pmStandard" */
if (JSON.typeof_(root["pmStandard"]) == "string") {
String standard = root["pmStandard"];
if (standard == "ugm3") {
inUSAQI = false;
} else {

View File

@ -197,9 +197,9 @@ public:
}
}
/** Get "pmsStandard" */
if (JSON.typeof_(root["pmsStandard"]) == "string") {
String standard = root["pmsStandard"];
/** Get "pmStandard" */
if (JSON.typeof_(root["pmStandard"]) == "string") {
String standard = root["pmStandard"];
if (standard == "ugm3") {
inUSAQI = false;
} else {

View File

@ -197,9 +197,9 @@ public:
}
}
/** Get "pmsStandard" */
if (JSON.typeof_(root["pmsStandard"]) == "string") {
String standard = root["pmsStandard"];
/** Get "pmStandard" */
if (JSON.typeof_(root["pmStandard"]) == "string") {
String standard = root["pmStandard"];
if (standard == "ugm3") {
inUSAQI = false;
} else {

View File

@ -201,9 +201,9 @@ public:
}
}
/** Get "pmsStandard" */
if (JSON.typeof_(root["pmsStandard"]) == "string") {
String standard = root["pmsStandard"];
/** Get "pmStandard" */
if (JSON.typeof_(root["pmStandard"]) == "string") {
String standard = root["pmStandard"];
if (standard == "ugm3") {
inUSAQI = false;
} else {