scripts/install.sh: disable wifi first

This commit is contained in:
Thomas Farstrike
2025-11-24 22:08:35 +01:00
parent cccfe320d2
commit 4732e4f80f
+4
View File
@@ -15,6 +15,10 @@ mpremote=$(readlink -f "$mydir/../lvgl_micropython/lib/micropython/tools/mpremot
pushd internal_filesystem/
echo "Disabling wifi because it writes to REPL from time to time when doing disconnect/reconnect for ADC2..."
$mpremote exec "mpos.net.wifi_service.WifiService.disconnect()"
sleep 2
if [ ! -z "$appname" ]; then
echo "Installing one app: $appname"
appdir="apps/$appname/"