mirror of
https://github.com/airgradienthq/arduino.git
synced 2025-09-28 05:30:54 +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");
|
||||||
@@ -321,6 +316,11 @@ void StateMachine::ledBarPowerUpTest(void) {
|
|||||||
} else {
|
} else {
|
||||||
ledBarRunTest();
|
ledBarRunTest();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void StateMachine::ledBarPowerUpTest(void) {
|
||||||
|
ledBarRunTest();
|
||||||
}
|
}
|
||||||
|
|
||||||
void StateMachine::ledBarRunTest(void) {
|
void StateMachine::ledBarRunTest(void) {
|
||||||
|
Reference in New Issue
Block a user