mirror of
https://github.com/micropython/micropython.git
synced 2026-01-08 21:20:13 +01:00
Sometimes when setting a channel callback the callback fires immediately, even if the compare register is set to a value far into the future. This happens when the free running counter has previously been equal to what happens to be in the compare register. This patch make sure that there is no pending interrupt when setting a callback.
57 KiB
57 KiB