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: disable wifi first
This commit is contained in:
@@ -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/"
|
||||
|
||||
Reference in New Issue
Block a user