diff options
Diffstat (limited to 'FreeRTOS/Demo/PIC32MZ_MPLAB/main_blinky.c')
-rw-r--r-- | FreeRTOS/Demo/PIC32MZ_MPLAB/main_blinky.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/FreeRTOS/Demo/PIC32MZ_MPLAB/main_blinky.c b/FreeRTOS/Demo/PIC32MZ_MPLAB/main_blinky.c index e4aba6165..07fabfb16 100644 --- a/FreeRTOS/Demo/PIC32MZ_MPLAB/main_blinky.c +++ b/FreeRTOS/Demo/PIC32MZ_MPLAB/main_blinky.c @@ -177,21 +177,21 @@ xTimerHandle xTimer; /* Create the two tasks as described in the comments at the top of this
file. */
xTaskCreate( prvQueueReceiveTask, /* The function that implements the task. */
- ( signed char * ) "Rx", /* The text name assigned to the task - for debug only as it is not used by the kernel. */
+ "Rx", /* The text name assigned to the task - for debug only as it is not used by the kernel. */
configMINIMAL_STACK_SIZE, /* The size of the stack to allocate to the task. */
( void * ) mainQUEUE_RECEIVE_PARAMETER, /* The parameter passed to the task - just to check the functionality. */
mainQUEUE_RECEIVE_TASK_PRIORITY, /* The priority assigned to the task. */
NULL ); /* The task handle is not required, so NULL is passed. */
- xTaskCreate( prvQueueSendTask, ( signed char * ) "TX", configMINIMAL_STACK_SIZE, ( void * ) mainQUEUE_SEND_PARAMETER, mainQUEUE_SEND_TASK_PRIORITY, NULL );
+ xTaskCreate( prvQueueSendTask, "TX", configMINIMAL_STACK_SIZE, ( void * ) mainQUEUE_SEND_PARAMETER, mainQUEUE_SEND_TASK_PRIORITY, NULL );
/* Create the blinky software timer as described at the top of this file. */
- xTimer = xTimerCreate( ( const signed char * ) "Blinky",/* A text name, purely to help debugging. */
- ( mainBLINKY_TIMER_PERIOD ), /* The timer period. */
- pdTRUE, /* This is an auto-reload timer, so xAutoReload is set to pdTRUE. */
- ( void * ) 0, /* The ID is not used, so can be set to anything. */
- prvBlinkyTimerCallback ); /* The callback function that inspects the status of all the other tasks. */
+ xTimer = xTimerCreate( "Blinky", /* A text name, purely to help debugging. */
+ ( mainBLINKY_TIMER_PERIOD ),/* The timer period. */
+ pdTRUE, /* This is an auto-reload timer, so xAutoReload is set to pdTRUE. */
+ ( void * ) 0, /* The ID is not used, so can be set to anything. */
+ prvBlinkyTimerCallback ); /* The callback function that inspects the status of all the other tasks. */
configASSERT( xTimer );
if( xTimer != NULL )
|