]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/PIC32MZ_MPLAB/main_full.c
Start to remove unnecessary 'signed char *' casts from strings that are now just...
[freertos] / FreeRTOS / Demo / PIC32MZ_MPLAB / main_full.c
index a176abf172882187c897266d3bb17e70f12615a9..9820fe807a22c5a09e825ed4501edd3d2cc761cd 100644 (file)
@@ -238,18 +238,18 @@ xTimerHandle xTimer = NULL;
        vStartRecursiveMutexTasks();\r
 \r
        /* Create the tasks defined within this file. */\r
-       xTaskCreate( prvRegTestTask1,                                           /* The function that implements the task. */\r
-                               ( const signed char * const ) "Reg1",   /* Text name for the task to assist debugger - not used by FreeRTOS itself. */\r
-                               configMINIMAL_STACK_SIZE,                               /* The stack size to allocate for the task - specified in words not bytes. */\r
-                               NULL,                                                                   /* The parameter to pass into the task - not used in this case so set to NULL. */\r
-                               tskIDLE_PRIORITY,                                               /* The priority to assign to the task. */\r
-                               NULL );                                                                 /* Used to obtain a handle to the task being created - not used in this case so set to NULL. */\r
+       xTaskCreate( prvRegTestTask1,                   /* The function that implements the task. */\r
+                               "Reg1",                                         /* Text name for the task to assist debugger - not used by FreeRTOS itself. */\r
+                               configMINIMAL_STACK_SIZE,       /* The stack size to allocate for the task - specified in words not bytes. */\r
+                               NULL,                                           /* The parameter to pass into the task - not used in this case so set to NULL. */\r
+                               tskIDLE_PRIORITY,                       /* The priority to assign to the task. */\r
+                               NULL );                                         /* Used to obtain a handle to the task being created - not used in this case so set to NULL. */\r
 \r
-       xTaskCreate( prvRegTestTask2, ( const signed char * const ) "Reg2", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, NULL );\r
+       xTaskCreate( prvRegTestTask2, "Reg2", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, NULL );\r
 \r
        /* Create the software timer that performs the 'check' functionality, as\r
        described at the top of this file. */\r
-       xTimer = xTimerCreate(  ( const signed char * ) "CheckTimer",/* A text name, purely to help debugging. */\r
+       xTimer = xTimerCreate(  "CheckTimer",/* A text name, purely to help debugging. */\r
                                                        ( mainCHECK_TIMER_PERIOD_MS ),          /* The timer period, in this case 3000ms (3s). */\r
                                                        pdTRUE,                                                         /* This is an auto-reload timer, so xAutoReload is set to pdTRUE. */\r
                                                        ( void * ) 0,                                           /* The ID is not used, so can be set to anything. */\r
@@ -263,7 +263,7 @@ xTimerHandle xTimer = NULL;
        /* A software timer is also used to start the high frequency timer test.\r
        This is to ensure the test does not start before the kernel.  This time a\r
        one shot software timer is used. */\r
-       xTimer = xTimerCreate( ( const signed char * ) "HighHzTimerSetup", 1, pdFALSE, ( void * ) 0, prvSetupHighFrequencyTimerTest );\r
+       xTimer = xTimerCreate( "HighHzTimerSetup", 1, pdFALSE, ( void * ) 0, prvSetupHighFrequencyTimerTest );\r
        if( xTimer != NULL )\r
        {\r
                xTimerStart( xTimer, mainDONT_BLOCK );\r