Skip to content

Commit 4732e4f

Browse files
scripts/install.sh: disable wifi first
1 parent cccfe32 commit 4732e4f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/install.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ mpremote=$(readlink -f "$mydir/../lvgl_micropython/lib/micropython/tools/mpremot
1515

1616
pushd internal_filesystem/
1717

18+
echo "Disabling wifi because it writes to REPL from time to time when doing disconnect/reconnect for ADC2..."
19+
$mpremote exec "mpos.net.wifi_service.WifiService.disconnect()"
20+
sleep 2
21+
1822
if [ ! -z "$appname" ]; then
1923
echo "Installing one app: $appname"
2024
appdir="apps/$appname/"

0 commit comments

Comments
 (0)