X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=FreeRTOS%2FDemo%2FMicroBlaze_Spartan-6_EthernetLite%2FSDKProjects%2FRTOSDemo%2FlwIP%2FlwIP_Apps%2FlwIP_Apps.c;h=8687d2c9495292d1885b0c2ca35c582f080c4a09;hb=758848cd92bc5b99ef94165052f0f537833ce1d7;hp=7b6c679b41d36b246d648380f0981fd170a723d7;hpb=b18af6b07e944b8c932a9be32fbce2344510896c;p=freertos diff --git a/FreeRTOS/Demo/MicroBlaze_Spartan-6_EthernetLite/SDKProjects/RTOSDemo/lwIP/lwIP_Apps/lwIP_Apps.c b/FreeRTOS/Demo/MicroBlaze_Spartan-6_EthernetLite/SDKProjects/RTOSDemo/lwIP/lwIP_Apps/lwIP_Apps.c index 7b6c679b4..8687d2c94 100644 --- a/FreeRTOS/Demo/MicroBlaze_Spartan-6_EthernetLite/SDKProjects/RTOSDemo/lwIP/lwIP_Apps/lwIP_Apps.c +++ b/FreeRTOS/Demo/MicroBlaze_Spartan-6_EthernetLite/SDKProjects/RTOSDemo/lwIP/lwIP_Apps/lwIP_Apps.c @@ -1,5 +1,6 @@ /* - FreeRTOS V7.5.0 - Copyright (C) 2013 Real Time Engineers Ltd. + FreeRTOS V7.6.0 - Copyright (C) 2013 Real Time Engineers Ltd. + All rights reserved VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION. @@ -87,7 +88,7 @@ address are located at the bottom of FreeRTOSConfig.h. */ #define LWIP_PORT_INIT_NETMASK(addr) IP4_ADDR((addr), configNET_MASK0,configNET_MASK1,configNET_MASK2,configNET_MASK3) #define LWIP_MAC_ADDR_BASE { configMAC_ADDR0, configMAC_ADDR1, configMAC_ADDR2, configMAC_ADDR3, configMAC_ADDR4, configMAC_ADDR5 } -/* Definitions of the various SSI callback functions within the pccSSITags +/* Definitions of the various SSI callback functions within the pccSSITags array. If pccSSITags is updated, then these definitions must also be updated. */ #define ssiTASK_STATS_INDEX 0 #define ssiRUN_TIME_STATS_INDEX 1 @@ -100,9 +101,9 @@ static unsigned short uslwIPAppsSSIHandler( int iIndex, char *pcBuffer, int iBuf /*-----------------------------------------------------------*/ /* The SSI strings that are embedded in the served html files. If this array -is changed, then the index position defined by the #defines such as +is changed, then the index position defined by the #defines such as ssiTASK_STATS_INDEX above must also be updated. */ -static const char *pccSSITags[] = +static const char *pccSSITags[] = { "rtos_stats", "run_stats" @@ -150,15 +151,15 @@ extern char *pcMainGetTaskStatusMessage( void ); /* The SSI handler function that generates text depending on the index of the SSI tag encountered. */ - + switch( iIndex ) { case ssiTASK_STATS_INDEX : - vTaskList( ( signed char * ) pcBuffer ); + vTaskList( pcBuffer ); break; case ssiRUN_TIME_STATS_INDEX : - vTaskGetRunTimeStats( ( signed char * ) pcBuffer ); + vTaskGetRunTimeStats( pcBuffer ); break; }