We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 010528e commit af5c951Copy full SHA for af5c951
1 file changed
EInk_Autostereograms/boot.py
@@ -1,5 +1,4 @@
1
import board
2
-import digitalio
3
import storage
4
from analogio import AnalogIn
5
@@ -20,9 +19,9 @@ def read_buttons():
20
19
# if a button is pressed while booting up, CircuitPython can write to the drive
21
button = read_buttons()
22
if button != None:
23
- readonly = False
+ readonly = False
24
if readonly:
25
print("OS has write access to CircuitPython drive")
26
else:
27
print("CircuitPython has write access to drive")
28
-storage.remount("/", readonly)
+storage.remount("/", readonly)
0 commit comments