Remove country dependency on LED bar button test

This commit is contained in:
Phat Nguyen
2024-05-02 09:10:43 +07:00
parent 221730160b
commit f32d6b1bbe

View File

@ -302,11 +302,6 @@ void StateMachine::co2Calibration(void) {
void StateMachine::ledBarTest(void) {
if (config.isLedBarTestRequested()) {
ledBarPowerUpTest();
}
}
void StateMachine::ledBarPowerUpTest(void) {
if (config.getCountry() == "TH") {
uint32_t tstart = millis();
logInfo("Start run LED test for 2 min");
@ -321,6 +316,11 @@ void StateMachine::ledBarPowerUpTest(void) {
} else {
ledBarRunTest();
}
}
}
void StateMachine::ledBarPowerUpTest(void) {
ledBarRunTest();
}
void StateMachine::ledBarRunTest(void) {