mirror of https://github.com/arendst/Tasmota.git
Merge pull request #15402 from s-hadinger/wifi_no_sleep
Add wifi_no_sleep to user config
This commit is contained in:
commit
5193050fa8
|
@ -82,6 +82,7 @@
|
|||
#define WIFI_ARP_INTERVAL 60 // [SetOption41] Send gratuitous ARP interval
|
||||
#define WIFI_SCAN_AT_RESTART false // [SetOption56] Scan Wi-Fi network at restart for configured AP's
|
||||
#define WIFI_SCAN_REGULARLY true // [SetOption57] Scan Wi-Fi network every 44 minutes for configured AP's
|
||||
#define WIFI_NO_SLEEP false // [SetOption127] Sets Wifi in no-sleep mode which improves responsiveness on some routers
|
||||
|
||||
// -- Syslog --------------------------------------
|
||||
#define SYS_LOG_HOST "" // [LogHost] (Linux) syslog host
|
||||
|
|
|
@ -942,6 +942,7 @@ void SettingsDefaultSet2(void) {
|
|||
SettingsUpdateText(SET_RGX_PASSWORD, PSTR(WIFI_RGX_PASSWORD));
|
||||
Settings->sbflag1.range_extender = WIFI_RGX_STATE;
|
||||
Settings->sbflag1.range_extender_napt = WIFI_RGX_NAPT;
|
||||
flag5.wifi_no_sleep |= WIFI_NO_SLEEP;
|
||||
|
||||
// Syslog
|
||||
SettingsUpdateText(SET_SYSLOG_HOST, PSTR(SYS_LOG_HOST));
|
||||
|
|
Loading…
Reference in New Issue