mirror of
https://github.com/jeelabs/esp-link.git
synced 2026-03-24 09:56:52 +01:00
Added to avoid possible hiccup when opmode already 1
This commit is contained in:
@@ -312,6 +312,7 @@ static void ICACHE_FLASH_ATTR resetTimerCb(void *arg) {
|
||||
if(m!=2){
|
||||
if( x == STATION_GOT_IP ){
|
||||
#ifdef CHANGE_TO_STA
|
||||
if(m != 1)
|
||||
wifi_set_opmode(1);
|
||||
#endif
|
||||
log_uart(false);
|
||||
|
||||
Reference in New Issue
Block a user