Merge pull request #102 from airgradienthq/hotfix/led-button-test-not-handle-on-power-up

fix led bar button test not work on power up
This commit is contained in:
Phat Nguyen
2024-05-03 21:03:15 +07:00
committed by GitHub
4 changed files with 14 additions and 1 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;