Browse Source

Correction commentaire

master
scayac 3 weeks ago
parent
commit
b063dd0f6b
  1. 2
      src/main.cpp

2
src/main.cpp

@ -22,7 +22,7 @@ bool wifiAPMode = false; // true si démarré en mod
bool wifiReconnecting = false; // true pendant une tentative de reconnexion bool wifiReconnecting = false; // true pendant une tentative de reconnexion
unsigned long lastWifiReconnectAttempt = 0; // Timestamp de la dernière tentative unsigned long lastWifiReconnectAttempt = 0; // Timestamp de la dernière tentative
unsigned long wifiReconnectStartTime = 0; // Début de la tentative en cours unsigned long wifiReconnectStartTime = 0; // Début de la tentative en cours
const unsigned long WIFI_RECONNECT_INTERVAL = 30000; // Intervalle en mode STA (60s) const unsigned long WIFI_RECONNECT_INTERVAL = 30000; // Intervalle en mode STA (30s)
const unsigned long WIFI_AP_RETRY_INTERVAL = 300000; // Intervalle depuis mode AP (5min) const unsigned long WIFI_AP_RETRY_INTERVAL = 300000; // Intervalle depuis mode AP (5min)
const unsigned long WIFI_CONNECT_TIMEOUT = 15000; // Timeout de connexion (15s) const unsigned long WIFI_CONNECT_TIMEOUT = 15000; // Timeout de connexion (15s)

Loading…
Cancel
Save