aboutsummaryrefslogtreecommitdiff
path: root/boot.py
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@dailly.me>2026-10-16 14:05:33 +0200
committerSébastien Dailly <sebastien@dailly.me>2026-10-16 14:05:33 +0200
commitbcde30ff9e322278ebeb316bfa34af0328680bcf (patch)
treee5b3192461f64fb998173feaf2511f3ae0c37fb0 /boot.py
parentf421547316803b545c678a8610954b1b14339b9d (diff)
pylint review + ergol key mappingmain
Diffstat (limited to 'boot.py')
-rw-r--r--boot.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/boot.py b/boot.py
index 3f2dfb2..1aa21e5 100644
--- a/boot.py
+++ b/boot.py
@@ -1,8 +1,9 @@
import usb_cdc
-usb_cdc.enable(data=True)
-
import layout
import storage
+
+usb_cdc.enable(data=True)
+
if layout.check_key():
print("Key pressed")
storage.remount("/", readonly=False)