git.s-ol.nu hw/0x33.board/firmware / 39aac48
automatically rename CPy drive s-ol 2 months ago
2 changed file(s) with 3 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
1414 mode_pressed = row.value
1515
1616 root = storage.getmount("/")
17 if root.label == "":
18 root.label = "hex33board"
1917
2018 if mode_pressed == board.dev_mode:
2119 storage.disable_usb_drive()
2220 storage.remount("/", False)
2321 print("Mounting read-write")
22
23 if root.label == "" or root.label == "CIRCUITPY":
24 root.label = "hex33board"
2425 else:
2526 print("Mounting readonly")
test.wav less more
Binary diff not shown