forked from airgradienthq/arduino
Remove country dependency on LED bar button test
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user