You've already forked MicroPythonOS
mirror of
https://github.com/m5stack/MicroPythonOS.git
synced 2026-05-20 11:51:27 -07:00
/scripts/install.sh: fix import
This commit is contained in:
+2
-1
@@ -15,8 +15,9 @@ mpremote=$(readlink -f "$mydir/../lvgl_micropython/lib/micropython/tools/mpremot
|
||||
|
||||
pushd internal_filesystem/
|
||||
|
||||
# Maybe also do: import mpos ; mpos.TaskManager.stop()
|
||||
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()"
|
||||
$mpremote exec "import mpos ; mpos.net.wifi_service.WifiService.disconnect()"
|
||||
sleep 2
|
||||
|
||||
if [ ! -z "$appname" ]; then
|
||||
|
||||
Reference in New Issue
Block a user