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 authored and GitHub committed 2024-05-03 21:03:15 +07:00
commit fb84b53077
4 files changed
+14 -1

No files matched your search

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