diff options
author | Dave Hylands <dhylands@gmail.com> | 2015-04-22 15:01:25 -0700 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-04-22 23:31:56 +0100 |
commit | fd787c5e4ed369ddf8a178a62b6faf8a421e2bbc (patch) | |
tree | 71acde106be32180a71b9193adbd4bf583ca1df4 /py/lexer.c | |
parent | 40d43ea88dfff431dd863146dd2e62ea8c24683e (diff) | |
download | micropython-fd787c5e4ed369ddf8a178a62b6faf8a421e2bbc.tar.gz micropython-fd787c5e4ed369ddf8a178a62b6faf8a421e2bbc.zip |
stmhal: Reset the timer counter to zero after changing the auto reload.
Because if the counter is above the new value of the auto-reload register
then it may be a long time until the timer wraps around.
Diffstat (limited to 'py/lexer.c')
0 files changed, 0 insertions, 0 deletions