mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-13 13:38:14 +08:00
station改回ap并关闭station, 保存ap及密码到Flash
This commit is contained in:
@@ -72,7 +72,7 @@ int application_start(void)
|
||||
if (!MicoGpioInputGet(Button))
|
||||
{ //开机时按钮状态
|
||||
os_log("press ap_init");
|
||||
ApInit();
|
||||
ApInit(false);
|
||||
open_ap = true;
|
||||
}
|
||||
|
||||
@@ -109,7 +109,7 @@ int application_start(void)
|
||||
{
|
||||
if (sys_config->micoSystemConfig.reserved != NOTIFY_STATION_UP)
|
||||
{
|
||||
ApInit();
|
||||
ApInit(true);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user