Assert if inserting an invalid timer.
This commit is contained in:
parent
862c6a1baf
commit
236daeae53
@ -94,6 +94,7 @@ void timeout_queue_insert(struct timeout_queue* t, struct timeout_evt* evt, size
|
|||||||
|
|
||||||
if (first)
|
if (first)
|
||||||
{
|
{
|
||||||
|
uhub_assert(first->timestamp == evt->timestamp);
|
||||||
first->prev->next = evt;
|
first->prev->next = evt;
|
||||||
evt->prev = first->prev;
|
evt->prev = first->prev;
|
||||||
first->prev = evt;
|
first->prev = evt;
|
||||||
|
Loading…
Reference in New Issue
Block a user