mirror of
https://github.com/arendst/Tasmota.git
synced 2025-04-24 23:07:17 +00:00
Merge pull request #13477 from mikep1998/development
Allow user to change wifi retry count
This commit is contained in:
commit
a2020a8ec8
@ -32,10 +32,13 @@
|
||||
#ifndef WIFI_RESCAN_MINUTES
|
||||
#define WIFI_RESCAN_MINUTES 44 // Number of minutes between wifi network rescan
|
||||
#endif
|
||||
#ifndef WIFI_RETRY_SECONDS
|
||||
#define WIFI_RETRY_SECONDS 12 // Number of seconds connection to wifi network will retry
|
||||
#endif
|
||||
|
||||
const uint8_t WIFI_CONFIG_SEC = 180; // seconds before restart
|
||||
const uint8_t WIFI_CHECK_SEC = 20; // seconds
|
||||
const uint8_t WIFI_RETRY_OFFSET_SEC = 12; // seconds
|
||||
const uint8_t WIFI_RETRY_OFFSET_SEC = WIFI_RETRY_SECONDS; // seconds
|
||||
|
||||
#include <ESP8266WiFi.h> // Wifi, MQTT, Ota, WifiManager
|
||||
#if LWIP_IPV6
|
||||
|
Loading…
x
Reference in New Issue
Block a user