fix led bar button test not work on power up

This commit is contained in:
Phat Nguyen
2024-05-01 21:02:57 +07:00
parent d40b1d37a8
commit 221730160b
4 changed files with 26 additions and 13 deletions

View File

@ -162,7 +162,7 @@ void setup() {
bool connectToWifi = false;
if (ag->isOne()) {
if (ledBarButtonTest) {
stateMachine.executeLedBarTest();
stateMachine.executeLedBarPowerUpTest();
} else {
ledBarEnabledUpdate();
connectToWifi = true;