diff options
author | Dave Hylands <dhylands@gmail.com> | 2015-02-22 19:58:51 -0800 |
---|---|---|
committer | Dave Hylands <dhylands@gmail.com> | 2015-02-22 19:58:51 -0800 |
commit | caf5c40c1932ff5f0dfd6a6b3cef870ffba13180 (patch) | |
tree | 5f41360533ca37f006ab9a7311f98cc4afb8e486 /tests/pyb/timer.py | |
parent | 44bb616b538ee8359fa128bec0c474b888709604 (diff) | |
download | micropython-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