]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/RL78_E2Studio_GCC/src/main_full.c
Start to remove unnecessary 'signed char *' casts from strings that are now just...
[freertos] / FreeRTOS / Demo / RL78_E2Studio_GCC / src / main_full.c
index 80b2a2ed1781828640cd0751f57671cc8b014134..a866218a9795b56f1917099095f5b93027c77946 100644 (file)
@@ -231,31 +231,31 @@ void main_full( void )
        vCreateBlockTimeTasks();\r
 \r
        /* Create the RegTest tasks as described at the top of this file. */\r
-       xTaskCreate( prvRegTest1Entry,                          /* The function that implements the task. */\r
-                                ( const signed char * ) "Reg1",/* Text name for the task - to assist debugging only, not used by the kernel. */\r
-                                configMINIMAL_STACK_SIZE,              /* The size of the stack allocated to the task (in words, not bytes). */\r
-                                mainREG_TEST_1_PARAMETER,      /* The parameter passed into the task. */\r
-                                tskIDLE_PRIORITY,                              /* The priority at which the task will execute. */\r
-                                NULL );                                                /* Used to pass the handle of the created task out to the function caller - not used in this case. */\r
+       xTaskCreate( prvRegTest1Entry,                  /* The function that implements the task. */\r
+                                "Reg1",                                        /* Text name for the task - to assist debugging only, not used by the kernel. */\r
+                                configMINIMAL_STACK_SIZE,      /* The size of the stack allocated to the task (in words, not bytes). */\r
+                                mainREG_TEST_1_PARAMETER,  /* The parameter passed into the task. */\r
+                                tskIDLE_PRIORITY,                      /* The priority at which the task will execute. */\r
+                                NULL );                                        /* Used to pass the handle of the created task out to the function caller - not used in this case. */\r
 \r
-       xTaskCreate( prvRegTest2Entry, ( const signed char * ) "Reg2", configMINIMAL_STACK_SIZE, mainREG_TEST_2_PARAMETER, tskIDLE_PRIORITY, NULL );\r
+       xTaskCreate( prvRegTest2Entry, "Reg2", configMINIMAL_STACK_SIZE, mainREG_TEST_2_PARAMETER, tskIDLE_PRIORITY, NULL );\r
 \r
        /* Create the software timer that performs the 'check' functionality,\r
        as described at the top of this file. */\r
-       xCheckTimer = xTimerCreate( ( const signed char * ) "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
-                                                               prvCheckTimerCallback                           /* The callback function that inspects the status of all the other tasks. */\r
+       xCheckTimer = 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
+                                                               prvCheckTimerCallback                   /* The callback function that inspects the status of all the other tasks. */\r
                                                          );\r
 \r
        /* Create the software timer that just increments a variable for demo\r
        purposes. */\r
-       xDemoTimer = xTimerCreate( ( const signed char * ) "DemoTimer",/* A text name, purely to help debugging. */\r
-                                                               ( mainDEMO_TIMER_PERIOD_MS ),           /* The timer period, in this case it is always calculated relative to the check timer period (see the definition of mainDEMO_TIMER_PERIOD_MS). */\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
-                                                               prvDemoTimerCallback                            /* The callback function that inspects the status of all the other tasks. */\r
+       xDemoTimer = xTimerCreate( "DemoTimer",                                         /* A text name, purely to help debugging. */\r
+                                                               ( mainDEMO_TIMER_PERIOD_MS ),   /* The timer period, in this case it is always calculated relative to the check timer period (see the definition of mainDEMO_TIMER_PERIOD_MS). */\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
+                                                               prvDemoTimerCallback                    /* The callback function that inspects the status of all the other tasks. */\r
                                                          );\r
 \r
        /* Start both the check timer and the demo timer.  The timers won't actually\r