]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/FreeRTOS_Tick_Setup.c
Replace use of legacy portTYPE macros from old demos and standard demo files.
[freertos] / FreeRTOS / Demo / ColdFire_MCF5282_Eclipse / RTOSDemo / FreeRTOS_Tick_Setup.c
index 43d74dee20612b61ab572103ba2f435398df9e5a..8ed97bb67a9d5de32f2123c36eb0434bb175b771 100644 (file)
  */\r
 void vApplicationSetupInterrupts( void )\r
 {\r
-const unsigned portSHORT usCompareMatchValue = ( ( configCPU_CLOCK_HZ / portPRESCALE_VALUE ) / configTICK_RATE_HZ );\r
+const unsigned short usCompareMatchValue = ( ( configCPU_CLOCK_HZ / portPRESCALE_VALUE ) / configTICK_RATE_HZ );\r
 \r
     /* Configure interrupt priority and level and unmask interrupt for PIT0. */\r
     MCF_INTC0_ICR55 = ( 1 | ( configKERNEL_INTERRUPT_PRIORITY << 3 ) );\r
@@ -131,7 +131,7 @@ const unsigned portSHORT usCompareMatchValue = ( ( configCPU_CLOCK_HZ / portPRES
 \r
 void __attribute__ ((interrupt)) __cs3_isr_interrupt_119( void )\r
 {\r
-unsigned portLONG ulSavedInterruptMask;\r
+unsigned long ulSavedInterruptMask;\r
 \r
        /* Clear the PIT0 interrupt. */\r
        MCF_PIT0_PCSR |= MCF_PIT_PCSR_PIF;\r