Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 48db6a3

Browse files
committedAug 29, 2024
fixed flash_firmware.py
1 parent 60b1baa commit 48db6a3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed
 

‎examples/flash_firmware.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# from machine import reset
22
from arduino_alvik import update_firmware
33

4+
# this is a patch to fix possible running threads on Alvik
5+
from arduino_alvik import ArduinoAlvik
6+
alvik = ArduinoAlvik()
7+
alvik.stop()
8+
49
update_firmware('./firmware.bin')
5-
# reset()
10+
# reset()

0 commit comments

Comments
 (0)
Please sign in to comment.