mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-07-22 12:58:08 +02:00
Correction to the draft timers module. Still a work in progress.
This commit is contained in:
parent
7b97fe26c7
commit
9d9b00b669
@ -348,7 +348,7 @@ xTIMER *pxTimer = ( xTIMER * ) xTimer;
|
|||||||
/* Is the timer in the list of active timers? */
|
/* Is the timer in the list of active timers? */
|
||||||
taskENTER_CRITICAL();
|
taskENTER_CRITICAL();
|
||||||
{
|
{
|
||||||
xTimerIsInActiveList = listIS_CONTAINED_WITHIN( NULL, &( pxTimer->xTimerListItem ) );
|
xTimerIsInActiveList = listIS_CONTAINED_WITHIN( &xActiveTimerList, &( pxTimer->xTimerListItem ) );
|
||||||
}
|
}
|
||||||
taskEXIT_CRITICAL();
|
taskEXIT_CRITICAL();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user