修复长按5s开启配网模式的逻辑问题

This commit is contained in:
nhkefus
2025-03-19 16:45:09 +08:00
parent 981c33e3ad
commit d925c7d805
2 changed files with 4 additions and 3 deletions

View File

@@ -137,7 +137,7 @@ int application_start(void) {
MicoGpioInitialize((mico_gpio_t) Button, INPUT_PULL_UP);
if (!MicoGpioInputGet(Button)) { //开机时按钮状态
tc1_log("press ap_init");
ApInit(false);
ApInit(true);
open_ap = true;
}