From 1e895448edce13b08b3d43d9769377127cc3e2f7 Mon Sep 17 00:00:00 2001 From: Christian Zufferey Date: Sat, 29 Feb 2020 23:34:36 +0100 Subject: [PATCH] =?UTF-8?q?Mis=20le=20timeout=20de=20connexion=20wifi=20?= =?UTF-8?q?=C3=A0=2030=20secondes=20pour=20les=20AP=20NodeMCU=20repeater?= =?UTF-8?q?=20qui=20sont=20tr=C3=A8s=20lents=20:-(?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Mesures/ADC/ADS1115/wifi_init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Mesures/ADC/ADS1115/wifi_init.lua b/Mesures/ADC/ADS1115/wifi_init.lua index f95c92c..e1a0032 100644 --- a/Mesures/ADC/ADS1115/wifi_init.lua +++ b/Mesures/ADC/ADS1115/wifi_init.lua @@ -1,7 +1,7 @@ -- Petit script pour initaliser la couche WIFI function wifi_init() - print("\n wifi_init.lua zf200229.1438 \n") + print("\n wifi_init.lua zf200229.2330 \n") f= "secrets_wifi.lua" if file.exists(f) then dofile(f) end f= "secrets_project.lua" if file.exists(f) then dofile(f) end @@ -61,7 +61,7 @@ function wifi_init() if wifi.sta.getip() == nil then print(i,"Connecting to AP...") i=i+1 - if i > 20 then + if i > 30 then print("pas de wifi :-(") file.putcontents("_setup_wifi_", "toto") print("on restart pour le setup wifi")