From: richardbarry Date: Fri, 23 May 2008 18:51:39 +0000 (+0000) Subject: Fix warnings that the latest GCC version spits out. X-Git-Tag: V5.0.2~16 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=32a600ea1738123fe7db54d959c9276b6ddee366;p=freertos Fix warnings that the latest GCC version spits out. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@381 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- diff --git a/Demo/AVR_ATMega323_WinAVR/FreeRTOSConfig.h b/Demo/AVR_ATMega323_WinAVR/FreeRTOSConfig.h index c2af92983..62e863300 100644 --- a/Demo/AVR_ATMega323_WinAVR/FreeRTOSConfig.h +++ b/Demo/AVR_ATMega323_WinAVR/FreeRTOSConfig.h @@ -74,6 +74,7 @@ #define configUSE_TRACE_FACILITY 0 #define configUSE_16_BIT_TICKS 1 #define configIDLE_SHOULD_YIELD 1 +#define configQUEUE_REGISTRY_SIZE 0 /* Co-routine definitions. */ #define configUSE_CO_ROUTINES 1 diff --git a/Demo/AVR_ATMega323_WinAVR/regtest.c b/Demo/AVR_ATMega323_WinAVR/regtest.c index ce93a155b..d965e062c 100644 --- a/Demo/AVR_ATMega323_WinAVR/regtest.c +++ b/Demo/AVR_ATMega323_WinAVR/regtest.c @@ -68,8 +68,8 @@ portBASE_TYPE xRegTestError = pdFALSE; void vStartRegTestTasks( void ) { - xTaskCreate( prvRegisterCheck1, "Reg1", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, NULL ); - xTaskCreate( prvRegisterCheck2, "Reg2", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, NULL ); + xTaskCreate( prvRegisterCheck1, ( signed portCHAR * ) "Reg1", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, NULL ); + xTaskCreate( prvRegisterCheck2, ( signed portCHAR * ) "Reg2", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, NULL ); } /*-----------------------------------------------------------*/ diff --git a/Demo/AVR_ATMega323_WinAVR/serial/serial.c b/Demo/AVR_ATMega323_WinAVR/serial/serial.c index 78b85e079..8c04cd042 100644 --- a/Demo/AVR_ATMega323_WinAVR/serial/serial.c +++ b/Demo/AVR_ATMega323_WinAVR/serial/serial.c @@ -210,7 +210,7 @@ unsigned portCHAR ucByte; SIGNAL( SIG_UART_RECV ) { signed portCHAR cChar; -portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE; +signed portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE; /* Get the character and post it on the queue of Rxed characters. If the post causes a task to wake force a context switch as the woken task