diff options
Diffstat (limited to 'boot.py')
-rw-r--r-- | boot.py | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -0,0 +1,10 @@ +import usb_cdc +usb_cdc.enable(data=True) + +import layout +if layout.check_key(): + print("Key pressed") +else: + import storage + storage.disable_usb_drive() + storage.remount("/", False) |