mirror of
https://github.com/airgradienthq/arduino.git
synced 2025-09-28 13:40:55 +02:00
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) {
|
void StateMachine::ledBarTest(void) {
|
||||||
if (config.isLedBarTestRequested()) {
|
if (config.isLedBarTestRequested()) {
|
||||||
ledBarPowerUpTest();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void StateMachine::ledBarPowerUpTest(void) {
|
|
||||||
if (config.getCountry() == "TH") {
|
if (config.getCountry() == "TH") {
|
||||||
uint32_t tstart = millis();
|
uint32_t tstart = millis();
|
||||||
logInfo("Start run LED test for 2 min");
|
logInfo("Start run LED test for 2 min");
|
||||||
@@ -322,6 +317,11 @@ void StateMachine::ledBarPowerUpTest(void) {
|
|||||||
ledBarRunTest();
|
ledBarRunTest();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void StateMachine::ledBarPowerUpTest(void) {
|
||||||
|
ledBarRunTest();
|
||||||
|
}
|
||||||
|
|
||||||
void StateMachine::ledBarRunTest(void) {
|
void StateMachine::ledBarRunTest(void) {
|
||||||
disp.setText("LED Test", "running", ".....");
|
disp.setText("LED Test", "running", ".....");
|
||||||
|
Reference in New Issue
Block a user