summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-06-29 18:53:32 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2024-06-29 18:53:32 +0200
commit3b91dda6a430bae3221dabd17d11fd10ff0e3279 (patch)
tree5f93fe81ea659f84286211d014f7b7f55c3ba98c
parent76d0b58fc0f3b509478417417e48edbb6330bf23 (diff)
remove superfluous wifi.sta.connect() callHEADmain
wifi.sta.config automatically connects
-rw-r--r--src/init.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/init.lua b/src/init.lua
index db7b788..e835e99 100644
--- a/src/init.lua
+++ b/src/init.lua
@@ -52,7 +52,6 @@ function connect_wifi()
wifi.eventmon.register(wifi.eventmon.STA_DISCONNECTED, wifi_err)
wifi.setmode(wifi.STATION, false)
wifi.sta.config(station_cfgs[wifi_index])
- wifi.sta.connect()
end
function scd4x_start()