InfiniTimeOrg / InfiniSim

Simulator for InfiniTime user interface without needing a PineTime
GNU General Public License v3.0
167 stars 67 forks source link

sim/queue: support uxQueueMessagesWaiting for SysTask state refactor #151

Closed NeroBurner closed 2 months ago

NeroBurner commented 2 months ago

PR https://github.com/InfiniTimeOrg/InfiniTime/pull/2109 refactors the SystemTask.h state machine to prevent GoingToSleep race conditions (and similar state transistions).

In doing so the function uxQueueMessagesWaiting() from NRF SDK was used. Implement this newly used function.