]> git.sur5r.net Git - freertos/commitdiff
Fix warnings that the latest GCC version spits out.
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Fri, 23 May 2008 18:51:39 +0000 (18:51 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Fri, 23 May 2008 18:51:39 +0000 (18:51 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@381 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Demo/AVR_ATMega323_WinAVR/FreeRTOSConfig.h
Demo/AVR_ATMega323_WinAVR/regtest.c
Demo/AVR_ATMega323_WinAVR/serial/serial.c

index c2af929834ee60352fca41fb93c3b3a08611266b..62e8633008f32903e982fa38d52868973a250788 100644 (file)
@@ -74,6 +74,7 @@
 #define configUSE_TRACE_FACILITY       0\r
 #define configUSE_16_BIT_TICKS         1\r
 #define configIDLE_SHOULD_YIELD                1\r
+#define configQUEUE_REGISTRY_SIZE      0\r
 \r
 /* Co-routine definitions. */\r
 #define configUSE_CO_ROUTINES          1\r
index ce93a155b427ef2442f2fe1d051ce36a2475b9a6..d965e062cbf1256d6a1e5efd58123a5a3634ef6a 100644 (file)
@@ -68,8 +68,8 @@ portBASE_TYPE xRegTestError = pdFALSE;
 \r
 void vStartRegTestTasks( void )\r
 {\r
-       xTaskCreate( prvRegisterCheck1, "Reg1", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, NULL );\r
-       xTaskCreate( prvRegisterCheck2, "Reg2", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, NULL );               \r
+       xTaskCreate( prvRegisterCheck1, ( signed portCHAR * ) "Reg1", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, NULL );\r
+       xTaskCreate( prvRegisterCheck2, ( signed portCHAR * ) "Reg2", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, NULL );         \r
 }\r
 /*-----------------------------------------------------------*/\r
 \r
index 78b85e0799f9a017760283dbe51b431edbbc38fd..8c04cd042bacbb24c4ace7f22738ba754917594d 100644 (file)
@@ -210,7 +210,7 @@ unsigned portCHAR ucByte;
 SIGNAL( SIG_UART_RECV )\r
 {\r
 signed portCHAR cChar;\r
-portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE;\r
+signed portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE;\r
 \r
        /* Get the character and post it on the queue of Rxed characters.\r
        If the post causes a task to wake force a context switch as the woken task\r