Update FreeRTOS+ components and demos to use typedef names introduced in FreeRTOS V8.

This commit is contained in:
Richard Barry 2014-06-20 20:15:20 +00:00
parent 4ce4de750a
commit 5e47df8c01
66 changed files with 395 additions and 395 deletions

View file

@ -85,9 +85,9 @@ static xSemaphoreHandle xNetworkBufferSemaphore = NULL;
/*-----------------------------------------------------------*/
portBASE_TYPE xNetworkBuffersInitialise( void )
BaseType_t xNetworkBuffersInitialise( void )
{
portBASE_TYPE xReturn, x;
BaseType_t xReturn, x;
/* Only initialise the buffers and their associated kernel objects if they
have not been initialised before. */
@ -177,7 +177,7 @@ void vEthernetBufferRelease( uint8_t *pucEthernetBuffer )
}
/*-----------------------------------------------------------*/
xNetworkBufferDescriptor_t *pxNetworkBufferGet( size_t xRequestedSizeBytes, portTickType xBlockTimeTicks )
xNetworkBufferDescriptor_t *pxNetworkBufferGet( size_t xRequestedSizeBytes, TickType_t xBlockTimeTicks )
{
xNetworkBufferDescriptor_t *pxReturn = NULL;
@ -247,7 +247,7 @@ xNetworkBufferDescriptor_t *pxReturn = NULL;
void vNetworkBufferRelease( xNetworkBufferDescriptor_t * const pxNetworkBuffer )
{
portBASE_TYPE xListItemAlreadyInFreeList;
BaseType_t xListItemAlreadyInFreeList;
/* Ensure the buffer is returned to the list of free buffers before the
counting semaphore is 'given' to say a buffer is available. Release the
@ -277,7 +277,7 @@ portBASE_TYPE xListItemAlreadyInFreeList;
#if( ipconfigINCLUDE_TEST_CODE == 1 )
unsigned portBASE_TYPE uxGetNumberOfFreeNetworkBuffers( void )
UBaseType_t uxGetNumberOfFreeNetworkBuffers( void )
{
return listCURRENT_LIST_LENGTH( &xFreeBuffersList );
}