Corrigé le port de la LED sur le SonOff et refactorisé encore une fois la procédure de boot avec le WIFI_init. Le mode AP est maintenant au tout début de la phase de boot, afin de pouvoir voir l'adresse IP avant que boot2 ne plante
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
-- Scripts à charger après le boot pour démarrer le core system
|
||||
|
||||
print("\n boot.lua zf191221.1509 \n")
|
||||
print("\n boot.lua zf200101.1235 \n")
|
||||
|
||||
function boot()
|
||||
gpio.trig(zswitch, "none") hvbouton=nil zswitch=nil reset_reason=nil
|
||||
|
||||
f= "telnet_srv2.lua" if file.exists(f) then dofile(f) end
|
||||
f= "web_srv2.lua" if file.exists(f) then dofile(f) end
|
||||
f= "wifi_init.lua" if file.exists(f) then dofile(f) end
|
||||
end
|
||||
boot()
|
||||
|
||||
Reference in New Issue
Block a user