mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-16 15:08:15 +08:00
修复长按5s开启配网模式的逻辑问题
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user