diff options
author | Damien George <damien.p.george@gmail.com> | 2017-02-06 11:14:16 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-02-06 11:14:16 +1100 |
commit | b7d27e31e8c5d34aaba7e2a7070bb3b6fb082d28 (patch) | |
tree | 1912f20bf1c46a7c8acc3cef25e09b9051baecbe /tests | |
parent | a4a439caa3f352f8bbbb1d0c79923270561869d3 (diff) | |
download | micropython-b7d27e31e8c5d34aaba7e2a7070bb3b6fb082d28.tar.gz micropython-b7d27e31e8c5d34aaba7e2a7070bb3b6fb082d28.zip |
cc3200: Refactor "ticks" functions to use common extmod implementation.
The port now uses the common mp_utime_ticks_{ms,us,cpu,add,diff} functions
from extmod/utime_mphal.c.
The mp_utime_sleep_XXX functions are still cc3200-specific because they
handle the GIL differently to the ones in extmod.
The files misc/mpsystick.[ch] have been removed because they contain 2
unused functions, and the other remaining function is renamed to
mp_hal_ticks_us and moved to hal/cc3200_hal.c.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions