]> git.sur5r.net Git - freertos/blobdiff - Demo/MSP430X_MSP430F5438_IAR/RunTimeStatsConfig.c
Rename the UART ISR in the MSP430X/IAR demo to match the UART actually being used.
[freertos] / Demo / MSP430X_MSP430F5438_IAR / RunTimeStatsConfig.c
index 94dd0f9533dd35f9ddba2e1cd43444d0e48166a2..bf001584bc7efc6327b9dd9c79d879a5379772d5 100644 (file)
@@ -78,8 +78,8 @@ void vConfigureTimerForRunTimeStats( void )
        /* Ensure the timer is stopped. */\r
        TA1CTL = 0;\r
 \r
-       /* Run the timer from the ACLK/4. */\r
-       TA1CTL = TASSEL_1 | ID__4;\r
+       /* Run the timer from the ACLK/2. */\r
+       TA1CTL = TASSEL_1 | ID__2;\r
 \r
        /* Clear everything to start with. */\r
        TA1CTL |= TACLR;\r
@@ -102,14 +102,3 @@ static __interrupt void prvRunTimeStatsOverflowISR( void )
 }\r
 /*-----------------------------------------------------------*/\r
 \r
-inline unsigned long ulGetRunTimeStatsTime( void )\r
-{\r
-unsigned long ulReturn;\r
-\r
-       TA1CTL &= ~MC__CONTINOUS;\r
-       ulReturn = ( ( ulStatsOverflowCount << 16UL ) | ( unsigned long ) TA1R );\r
-       TA1CTL |= MC__CONTINOUS;\r
-       \r
-       return ulReturn;\r
-}\r
-/*-----------------------------------------------------------*/\r