Added boot up dev option via button press

Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
master
Ebbe Baß 2022-04-26 16:51:28 +02:00
parent 8e946be0af
commit ff93288428
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ noStoragePin = digitalio.DigitalInOut(GP0)
noStoragePin.switch_to_input(pull=digitalio.Pull.UP) noStoragePin.switch_to_input(pull=digitalio.Pull.UP)
noStorageStatus = not noStoragePin.value noStorageStatus = not noStoragePin.value
if(noStorageStatus == True): if(noStorageStatus == False):
# don't show USB drive to host PC # don't show USB drive to host PC
storage.disable_usb_drive() storage.disable_usb_drive()
print("Disabling USB drive") print("Disabling USB drive")