diff options
author | robert-hh <robert@hammelrath.com> | 2024-04-21 12:45:36 +0200 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2024-09-06 17:16:44 +1000 |
commit | ed86fdbdf6e2d3eb9a118d3476ce4c370ec48b06 (patch) | |
tree | 8eadc0fed5dcc44c92617a21de5f858610a93814 /docs/esp32/tutorial | |
parent | 3294606e2319dd64226434f20acc15b8869ddf55 (diff) |
samd/mphalport: Fix an execution order bug in mp_hal_ticks_us_64().
The upper 32 bit of the 64 bit ticks register was taken before disabling
the interrupts. That may have caused a wrong return values. Besides that,
the function may cause trouble when called in an IRQ context, because it
unconditionally enables IRQ.
Signed-off-by: robert-hh <robert@hammelrath.com>
Diffstat (limited to 'docs/esp32/tutorial')
0 files changed, 0 insertions, 0 deletions