From ff932884282a806d6d45fa797f6afa7a71b075b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Tue, 26 Apr 2022 16:51:28 +0200 Subject: [PATCH] Added boot up dev option via button press MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- boot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot.py b/boot.py index 20170e7..ef788cb 100644 --- a/boot.py +++ b/boot.py @@ -7,7 +7,7 @@ noStoragePin = digitalio.DigitalInOut(GP0) noStoragePin.switch_to_input(pull=digitalio.Pull.UP) noStorageStatus = not noStoragePin.value -if(noStorageStatus == True): +if(noStorageStatus == False): # don't show USB drive to host PC storage.disable_usb_drive() print("Disabling USB drive")