mirror of
https://github.com/kelvinlawson/atomthreads.git
synced 2026-03-02 18:43:15 +01:00
timer8.c: Add automated test to check for the behaviour fixed in future.
This commit is contained in:
@@ -488,7 +488,12 @@ static void atomTimerCallbacks (void)
|
||||
next_ptr = callback_list_head;
|
||||
while (next_ptr)
|
||||
{
|
||||
/*
|
||||
* Save the next timer in the list (in case the callback
|
||||
* modifies the list by registering again.
|
||||
*/
|
||||
saved_next_ptr = next_ptr->next_timer;
|
||||
|
||||
/* Call the registered callback */
|
||||
if (next_ptr->cb_func)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user