summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wasp/boards/pinetime/watch.py.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/wasp/boards/pinetime/watch.py.in b/wasp/boards/pinetime/watch.py.in
index f156779..e78df4b 100644
--- a/wasp/boards/pinetime/watch.py.in
+++ b/wasp/boards/pinetime/watch.py.in
@@ -98,8 +98,7 @@ try:
# Mount the filesystem
boot_msg("Init SPINOR")
- nor_cs = Pin('NOR_CS', Pin.OUT, value=1)
- flash = FLASH(spi, (nor_cs,))
+ flash = FLASH(spi, (Pin('NOR_CS', Pin.OUT, value=1),))
try:
boot_msg("Mount FS")
os.mount(flash, '/flash')