diff options
Diffstat (limited to 'wasp/boards/p8')
| -rw-r--r-- | wasp/boards/p8/watch.py.in | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/wasp/boards/p8/watch.py.in b/wasp/boards/p8/watch.py.in index 1e52ccb..358bfae 100644 --- a/wasp/boards/p8/watch.py.in +++ b/wasp/boards/p8/watch.py.in @@ -94,16 +94,9 @@ try: _callback) vibrator = Vibrator(Pin('MOTOR', Pin.OUT, value=0), active_low=True) - # Release flash from deep power-down - boot_msg("Wake SPINOR") - nor_cs = Pin('NOR_CS', Pin.OUT, value=1) - nor_cs(0) - spi.write('\xAB') - nor_cs(1) - # Mount the filesystem boot_msg("Init SPINOR") - flash = FLASH(spi, (nor_cs,)) + flash = FLASH(spi, (Pin('NOR_CS', Pin.OUT, value=1),)) try: boot_msg("Mount FS") os.mount(flash, '/flash') |
