summaryrefslogtreecommitdiffstatshomepage
path: root/tests/pyb/timer.py
diff options
context:
space:
mode:
authorDave Hylands <dhylands@gmail.com>2015-02-22 19:58:51 -0800
committerDave Hylands <dhylands@gmail.com>2015-02-22 19:58:51 -0800
commitcaf5c40c1932ff5f0dfd6a6b3cef870ffba13180 (patch)
tree5f41360533ca37f006ab9a7311f98cc4afb8e486 /tests/pyb/timer.py
parent44bb616b538ee8359fa128bec0c474b888709604 (diff)
downloadmicropython-caf5c40c1932ff5f0dfd6a6b3cef870ffba13180.tar.gz
micropython-caf5c40c1932ff5f0dfd6a6b3cef870ffba13180.zip
stmhal: Fix problem when passing callback= to timer init function.
In particular, make sure that the globals are all initialized before enabling the interrupt, and also make sure that the timer interrupt has been initialied before enabling the NVIC.
Diffstat (limited to 'tests/pyb/timer.py')
0 files changed, 0 insertions, 0 deletions