7.1.2.9 sortedInsert
This function figures out where the specific timer will be placed on the queue.
bool sortedInsert(
timerStruct_t * timer
)
Parameters
- timer
-
Type: timerStruct_t *
- instance of a timer being inserted to the queue
Returns
Type: bool
true if the inserted at the head of the queue
false in not at the head of the queue