Rename listLIST_ITEM_CONTAINED to listLIST_ITEM_CONTAINER.

pull/4/head
Richard Barry 13 years ago
parent 92f1699055
commit 18a4b00a18

@ -259,7 +259,7 @@ xList * const pxConstList = ( pxList ); \
* @param pxListItem The list item being queried.
* @return A pointer to the xList object that references the pxListItem
*/
#define listLIST_ITEM_CONTAINED( pxListItem ) ( ( pxListItem )->pvContainer )
#define listLIST_ITEM_CONTAINER( pxListItem ) ( ( pxListItem )->pvContainer )
/*
* This provides a crude means of knowing if a list has been initialised, as

@ -818,7 +818,7 @@ tskTCB * pxNewTCB;
{
taskENTER_CRITICAL();
{
pxStateList = ( xList * ) listLIST_ITEM_CONTAINED( &( pxTCB->xGenericListItem ) );
pxStateList = ( xList * ) listLIST_ITEM_CONTAINER( &( pxTCB->xGenericListItem ) );
}
taskEXIT_CRITICAL();

Loading…
Cancel
Save