mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-30 23:18:37 -04:00
Start to remove unnecessary 'signed char *' casts from strings that are now just plain char * types.
This commit is contained in:
parent
b4116a7c7d
commit
da93f1fc4b
261 changed files with 2822 additions and 2815 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
FreeRTOS V7.6.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.
|
||||
|
@ -84,8 +84,8 @@ portBASE_TYPE xRegTestError = pdFALSE;
|
|||
|
||||
void vStartRegTestTasks( void )
|
||||
{
|
||||
xTaskCreate( prvRegisterCheck1, ( signed char * ) "Reg1", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, NULL );
|
||||
xTaskCreate( prvRegisterCheck2, ( signed char * ) "Reg2", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, NULL );
|
||||
xTaskCreate( prvRegisterCheck1, "Reg1", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, NULL );
|
||||
xTaskCreate( prvRegisterCheck2, "Reg2", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, NULL );
|
||||
}
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -103,7 +103,7 @@ portBASE_TYPE xReturn;
|
|||
{
|
||||
xReturn = pdFALSE;
|
||||
}
|
||||
|
||||
|
||||
return xReturn;
|
||||
}
|
||||
/*-----------------------------------------------------------*/
|
||||
|
@ -114,7 +114,7 @@ static void prvRegisterCheck1( void *pvParameters )
|
|||
|
||||
for( ;; )
|
||||
{
|
||||
asm( "LDI r31, 5" );
|
||||
asm( "LDI r31, 5" );
|
||||
asm( "MOV r0, r31" );
|
||||
asm( "LDI r31, 6" );
|
||||
asm( "MOV r1, r31" );
|
||||
|
@ -257,7 +257,7 @@ static void prvRegisterCheck2( void *pvParameters )
|
|||
|
||||
for( ;; )
|
||||
{
|
||||
asm( "LDI r31, 1" );
|
||||
asm( "LDI r31, 1" );
|
||||
asm( "MOV r0, r31" );
|
||||
asm( "LDI r31, 2" );
|
||||
asm( "MOV r1, r31" );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue