diff options
author | robert-hh <robert@hammelrath.com> | 2024-11-27 16:57:02 +0100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2024-11-28 23:08:33 +1100 |
commit | 7118942a8c03413e0e85b9b42fc9e1b167966d57 (patch) | |
tree | abcc20c3cf050fc16dd093465c71e1f9b8d757a1 /py/runtime_utils.c | |
parent | 948863c0b8ab4937d11aadf4cbb1b688bf66bf8f (diff) | |
download | micropython-7118942a8c03413e0e85b9b42fc9e1b167966d57.tar.gz micropython-7118942a8c03413e0e85b9b42fc9e1b167966d57.zip |
nrf/drivers/ticker: Reset slow ticker callback count on soft reboot.
The micro:bit board (and probably other boards using the music or display
module) locked up on soft reboot. Reason was a buffer overflow caused by
an index counter, which was not reset on soft_reboot.
That's fixed in this commit. Tested with a micro:bit board, performing a
series of soft reboots.
Signed-off-by: robert-hh <robert@hammelrath.com>
Diffstat (limited to 'py/runtime_utils.c')
0 files changed, 0 insertions, 0 deletions