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" */ /** Get "pmStandard" */
if (JSON.typeof_(root["pmsStandard"]) == "string") { if (JSON.typeof_(root["pmStandard"]) == "string") {
String standard = root["pmsStandard"]; String standard = root["pmStandard"];
if (standard == "ugm3") { if (standard == "ugm3") {
inUSAQI = false; inUSAQI = false;
} else { } else {

View File

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

View File

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

View File

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

View File

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