xTaskCreate( vLCDTask, "LCD", configMINIMAL_STACK_SIZE, NULL, mainLCD_TASK_PRIORITY, NULL );\r
 \r
        /* Create a task that writes to LEDs 8 to 15. */\r
-       xTaskCreate( vLEDTask, "LCDTask", configMINIMAL_STACK_SIZE, NULL, mainLED_TASK_PRIORITY, NULL );\r
+       xTaskCreate( vLEDTask, "LEDTask", configMINIMAL_STACK_SIZE, NULL, mainLED_TASK_PRIORITY, NULL );\r
 \r
        /* Create some of the standard demo tasks.  These just test the port and\r
        demonstrate how the FreeRTOS API can be used.  They do not provide any\r
 
 http://www.freertos.org/rtos-run-time-stats.html */\r
 \r
 /* Addresses of registers in the Cortex-M debug hardware. */\r
-#define rtsDWT_CYCCNT                  ( *( ( unsigned long * ) 0xE0001004 ) )\r
-#define rtsDWT_CONTROL                         ( *( ( unsigned long * ) 0xE0001000 ) )\r
-#define rtsSCB_DEMCR                   ( *( ( unsigned long * ) 0xE000EDFC ) )\r
+#define rtsDWT_CYCCNT                  ( *( ( volatile unsigned long * ) 0xE0001004 ) )\r
+#define rtsDWT_CONTROL                         ( *( ( volatile unsigned long * ) 0xE0001000 ) )\r
+#define rtsSCB_DEMCR                   ( *( ( volatile unsigned long * ) 0xE000EDFC ) )\r
 #define rtsTRCENA_BIT                  ( 0x01000000UL )\r
 #define rtsCOUNTER_ENABLE_BIT  ( 0x01UL )\r
 \r
 
 #define portNVIC_PENDSV_PRI                                    ( ( ( unsigned long ) configKERNEL_INTERRUPT_PRIORITY ) << 16UL )\r
 #define portNVIC_SYSTICK_PRI                           ( ( ( unsigned long ) configKERNEL_INTERRUPT_PRIORITY ) << 24UL )\r
 \r
-/* Constants required to check the validity of an interrupt prority. */\r
+/* Constants required to check the validity of an interrupt priority. */\r
 #define portFIRST_USER_INTERRUPT_NUMBER                ( 16 )\r
 #define portNVIC_IP_REGISTERS_OFFSET_16        ( 0xE000E3F0 )\r
 #define portAIRCR_REG                                          ( * ( ( volatile unsigned long * ) 0xE000ED0C ) )\r
 
 #define portNVIC_PENDSV_PRI                                    ( ( ( unsigned long ) configKERNEL_INTERRUPT_PRIORITY ) << 16UL )\r
 #define portNVIC_SYSTICK_PRI                           ( ( ( unsigned long ) configKERNEL_INTERRUPT_PRIORITY ) << 24UL )\r
 \r
-/* Constants required to check the validity of an interrupt prority. */\r
+/* Constants required to check the validity of an interrupt priority. */\r
 #define portFIRST_USER_INTERRUPT_NUMBER                ( 16 )\r
 #define portNVIC_IP_REGISTERS_OFFSET_16        ( 0xE000E3F0 )\r
 #define portAIRCR_REG                                          ( * ( ( volatile unsigned long * ) 0xE000ED0C ) )\r
 
 #define portNVIC_PENDSV_PRI                                    ( ( ( unsigned long ) configKERNEL_INTERRUPT_PRIORITY ) << 16UL )\r
 #define portNVIC_SYSTICK_PRI                           ( ( ( unsigned long ) configKERNEL_INTERRUPT_PRIORITY ) << 24UL )\r
 \r
-/* Constants required to check the validity of an interrupt prority. */\r
+/* Constants required to check the validity of an interrupt priority. */\r
 #define portFIRST_USER_INTERRUPT_NUMBER                ( 16 )\r
 #define portNVIC_IP_REGISTERS_OFFSET_16        ( 0xE000E3F0 )\r
 #define portAIRCR_REG                                          ( * ( ( volatile unsigned long * ) 0xE000ED0C ) )\r
 
 \r
        static unsigned short prvTaskCheckFreeStackSpace( const unsigned char * pucStackByte )\r
        {\r
-       register unsigned short usCount = 0U;\r
+       unsigned short usCount = 0U;\r
 \r
                while( *pucStackByte == tskSTACK_FILL_BYTE )\r
                {\r