Skip to content

Commit 61ae548

Browse files
/scripts/install.sh: fix import
1 parent 7b4d08d commit 61ae548

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/install.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ mpremote=$(readlink -f "$mydir/../lvgl_micropython/lib/micropython/tools/mpremot
1515

1616
pushd internal_filesystem/
1717

18+
# Maybe also do: import mpos ; mpos.TaskManager.stop()
1819
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+
$mpremote exec "import mpos ; mpos.net.wifi_service.WifiService.disconnect()"
2021
sleep 2
2122

2223
if [ ! -z "$appname" ]; then

0 commit comments

Comments
 (0)