mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-19 21:11:57 -04:00
Fix warnings that the latest GCC version spits out.
This commit is contained in:
parent
ab37826715
commit
91c26c9868
|
@ -74,6 +74,7 @@
|
||||||
#define configUSE_TRACE_FACILITY 0
|
#define configUSE_TRACE_FACILITY 0
|
||||||
#define configUSE_16_BIT_TICKS 1
|
#define configUSE_16_BIT_TICKS 1
|
||||||
#define configIDLE_SHOULD_YIELD 1
|
#define configIDLE_SHOULD_YIELD 1
|
||||||
|
#define configQUEUE_REGISTRY_SIZE 0
|
||||||
|
|
||||||
/* Co-routine definitions. */
|
/* Co-routine definitions. */
|
||||||
#define configUSE_CO_ROUTINES 1
|
#define configUSE_CO_ROUTINES 1
|
||||||
|
|
|
@ -68,8 +68,8 @@ portBASE_TYPE xRegTestError = pdFALSE;
|
||||||
|
|
||||||
void vStartRegTestTasks( void )
|
void vStartRegTestTasks( void )
|
||||||
{
|
{
|
||||||
xTaskCreate( prvRegisterCheck1, "Reg1", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, NULL );
|
xTaskCreate( prvRegisterCheck1, ( signed portCHAR * ) "Reg1", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, NULL );
|
||||||
xTaskCreate( prvRegisterCheck2, "Reg2", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, NULL );
|
xTaskCreate( prvRegisterCheck2, ( signed portCHAR * ) "Reg2", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, NULL );
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
|
|
|
@ -210,7 +210,7 @@ unsigned portCHAR ucByte;
|
||||||
SIGNAL( SIG_UART_RECV )
|
SIGNAL( SIG_UART_RECV )
|
||||||
{
|
{
|
||||||
signed portCHAR cChar;
|
signed portCHAR cChar;
|
||||||
portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE;
|
signed portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE;
|
||||||
|
|
||||||
/* Get the character and post it on the queue of Rxed characters.
|
/* 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
|
If the post causes a task to wake force a context switch as the woken task
|
||||||
|
|
Loading…
Reference in a new issue