1
0
Fork 0

k9: Disable safe-mode

Currently the K9 is wedged in safe-mode. Oops! Fix this.

Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
This commit is contained in:
Daniel Thompson 2020-08-15 16:56:28 +01:00
parent d535b8b16c
commit a87b3faa4a

View file

@ -79,7 +79,7 @@ def boot_msg(s):
if safe_mode:
time.sleep_ms(500)
safe_mode = True
safe_mode = False
boot_msg("Init button")
button = Pin('BUTTON', Pin.IN)
safe_mode = button.value()