1
0
Fork 0
InfiniSim/sim
Reinhold Gschweicher 3cc6e74ea1 sim/timers: implement xTimerGetExpiryTime, xTimerIsActive, more accurate
Implement the missing functions `xTimerGetExpiryTime()` and `xTimerIsActive()`
for the move of `TimerController` to use FreeRTOS timers.

In the process also fix a slight inaccuracy in the ms to ticks
conversion (no conversion was done as 1000 was close enough to 1024 for
a first working implementation).

Fixes: https://github.com/InfiniTimeOrg/InfiniSim/issues/17
2022-03-29 22:41:09 +02:00
..
components sim: NimbleController: add stubs for new En/DisableRadio() functions 2022-02-26 21:37:21 +01:00
displayapp Initial InfiniSim project 2022-02-17 22:57:08 +01:00
drivers Initial InfiniSim project 2022-02-17 22:57:08 +01:00
heartratetask Initial InfiniSim project 2022-02-17 22:57:08 +01:00
libraries Initial InfiniSim project 2022-02-17 22:57:08 +01:00
nrfx add missing <string> and <cmath> includes 2022-02-26 21:37:21 +01:00
FreeRTOS.cpp Initial InfiniSim project 2022-02-17 22:57:08 +01:00
FreeRTOS.h add missing <string> and <cmath> includes 2022-02-26 21:37:21 +01:00
portmacro_cmsis.cpp Initial InfiniSim project 2022-02-17 22:57:08 +01:00
portmacro_cmsis.h Initial InfiniSim project 2022-02-17 22:57:08 +01:00
queue.cpp Initial InfiniSim project 2022-02-17 22:57:08 +01:00
queue.h Initial InfiniSim project 2022-02-17 22:57:08 +01:00
task.cpp Initial InfiniSim project 2022-02-17 22:57:08 +01:00
task.h Initial InfiniSim project 2022-02-17 22:57:08 +01:00
timers.cpp sim/timers: implement xTimerGetExpiryTime, xTimerIsActive, more accurate 2022-03-29 22:41:09 +02:00
timers.h sim/timers: implement xTimerGetExpiryTime, xTimerIsActive, more accurate 2022-03-29 22:41:09 +02:00