micropython/shared
Jim Mussared b1cdb205ec shared/runtime/softtimer: Fix ticks range when computing ticks diff.
The previous computation incorrectly assumed that the uint32_t ticks
counter MICROPY_SOFT_TIMER_TICKS_MS was in the range [0,0x80000000) where
its actually [0,0xffffffff].  This means the diff calculation can be
simplified compared to the original implementation copied from
utime_mphal.c, which has to deal with a ticks range constrained by the
small int range.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2023-02-17 12:17:28 +11:00
..
libc
memzip
netutils shared/netutils: Add "py/obj.h" header include. 2022-11-11 15:43:53 +11:00
readline shared/readline: Use MP_REGISTER_ROOT_POINTER(). 2022-07-18 13:48:49 +10:00
runtime shared/runtime/softtimer: Fix ticks range when computing ticks diff. 2023-02-17 12:17:28 +11:00
timeutils
tinyusb shared/tinyusb: Fix CDC bNumInterfaces value. 2022-11-14 13:03:33 +11:00
upytesthelper
README.md

README.md

This directory contains libraries, utilities and helper code developed specifically for this project. The code is intended to be portable and usable by any port.