Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Neyzoter committed Jul 15, 2019
1 parent 11f287b commit ade3b90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion HARDWARE/WIFI/wificonf.c
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ void setClientModePara(void){
*/
void checkModuleSta(void){
u8 RspCode;
u8 resetNum=6;//最多重启的次数
u8 resetNum=3;//最多重启的次数
/*STA模式才使用的指令.才有效*/
if(RSI_WIFI_OPER_MODE == RSI_WIFI_CLIENT_MODE_VAL){
delay_ms(1000);delay_ms(1000);//等待一段时间
Expand Down
1 change: 1 addition & 0 deletions USER/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ void Initialization (void)

/*下载参数*/
loadParafromMainOrBackupFlash();//getPara();

/*设置wifi为客户端模式*/
setClientModePara();InitWiFi();
/*检查模组连接情况,如果连接失败,则设置为AP模式*/
Expand Down

0 comments on commit ade3b90

Please sign in to comment.