]> git.sur5r.net Git - freertos/commitdiff
Remove qualifier from cast.
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sun, 10 Feb 2008 20:28:55 +0000 (20:28 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sun, 10 Feb 2008 20:28:55 +0000 (20:28 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@158 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Demo/Common/Minimal/comtest.c
Demo/Common/Minimal/flash.c

index 24074f5db97aacacadc2cb66a720037a18e63b00..d7bc1cf8f554d01116be2870a17836c0fdcbeb51 100644 (file)
@@ -152,8 +152,8 @@ void vAltStartComTestTasks( unsigned portBASE_TYPE uxPriority, unsigned portLONG
        xSerialPortInitMinimal( ulBaudRate, comBUFFER_LEN );\r
 \r
        /* The Tx task is spawned with a lower priority than the Rx task. */\r
-       xTaskCreate( vComTxTask, ( const signed portCHAR * const ) "COMTx", comSTACK_SIZE, NULL, uxPriority - 1, ( xTaskHandle * ) NULL );\r
-       xTaskCreate( vComRxTask, ( const signed portCHAR * const ) "COMRx", comSTACK_SIZE, NULL, uxPriority, ( xTaskHandle * ) NULL );\r
+       xTaskCreate( vComTxTask, ( signed portCHAR * ) "COMTx", comSTACK_SIZE, NULL, uxPriority - 1, ( xTaskHandle * ) NULL );\r
+       xTaskCreate( vComRxTask, ( signed portCHAR * ) "COMRx", comSTACK_SIZE, NULL, uxPriority, ( xTaskHandle * ) NULL );\r
 }\r
 /*-----------------------------------------------------------*/\r
 \r
index 22365959e076be99aa173f324f32ccdf8e27dfab..d9d2969a91fbfdf4f6c4c0150cca3925fc4972de 100644 (file)
@@ -99,7 +99,7 @@ signed portBASE_TYPE xLEDTask;
        for( xLEDTask = 0; xLEDTask < ledNUMBER_OF_LEDS; ++xLEDTask )\r
        {\r
                /* Spawn the task. */\r
-               xTaskCreate( vLEDFlashTask, ( const signed portCHAR * const ) "LEDx", ledSTACK_SIZE, NULL, uxPriority, ( xTaskHandle * ) NULL );\r
+               xTaskCreate( vLEDFlashTask, ( signed portCHAR * ) "LEDx", ledSTACK_SIZE, NULL, uxPriority, ( xTaskHandle * ) NULL );\r
        }\r
 }\r
 /*-----------------------------------------------------------*/\r