mirror of
				https://github.com/luc-github/ESP3D.git
				synced 2025-10-24 11:50:52 -07:00 
			
		
		
		
	Update wificonf.cpp
Thanks @fape
This commit is contained in:
		| @@ -457,7 +457,7 @@ bool WIFI_CONFIG::Setup (bool force_ap) | ||||
|         WiFi.begin (sbuf, pwd); | ||||
|         delay (100); | ||||
| #ifdef ARDUINO_ARCH_ESP8266 | ||||
| 		WiFi.setSleepMode ( (WiFiSleepType_t) bflag); | ||||
| 		WiFi.setSleepMode ( (WiFiSleepType_t) sleep_mode ); | ||||
| #else | ||||
| 		//for backward compatibility | ||||
| 		if ((wifi_ps_type_t) sleep_mode == WIFI_PS_MAX_MODEM)sleep_mode=WIFI_PS_MIN_MODEM; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user