timeout_deleteHelper

This function looks for a specific timer instance and removes it from the queue.

bool timeout_deleteHelper(
    timerStruct_t *volatile * list,    timerStruct_t * timer
)

Parameters

*list

Type: timerStruct_t *volatile *

- the pointer that points to the timer instance at the head of the queue

*timer

Type: timerStruct_t *

- timer instance to be removed

Returns

Type: bool

true if the timer was found and successfully removed from the list.

false if the operation was not successful.