]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/CORTEX_M7_SAMV71_Xplained_AtmelStudio/Full_Demo/IntQueueTimer.c
Rename DummyTCB_t to StaticTCB_t.
[freertos] / FreeRTOS / Demo / CORTEX_M7_SAMV71_Xplained_AtmelStudio / Full_Demo / IntQueueTimer.c
index 61fd9b1832e357205d5a0998c7650d46cdc2c422..e2162ad422165f18cd50272fec0dbac5a495d2c8 100644 (file)
@@ -146,18 +146,18 @@ const uint32_t ulDivider = 128UL, ulTCCLKS = 3UL;
        TC0->TC_CHANNEL[ tmrTC0_CHANNEL_1 ].TC_RC = ( configCPU_CLOCK_HZ / 2 ) / ( tmrTIMER_1_FREQUENCY * ulDivider );\r
        TC0->TC_CHANNEL[ tmrTC0_CHANNEL_1 ].TC_IER = TC_IER_CPCS;\r
 \r
-    /* Configure and enable TC0 interrupt on RC compare. */ \r
+       /* Configure and enable TC0 interrupt on RC compare. */\r
        NVIC_SetPriority( TC0_IRQn, tmrLOWER_PRIORITY );\r
-    NVIC_ClearPendingIRQ( TC0_IRQn );\r
-    NVIC_EnableIRQ( TC0_IRQn );\r
-       \r
+       NVIC_ClearPendingIRQ( TC0_IRQn );\r
+       NVIC_EnableIRQ( TC0_IRQn );\r
+\r
        /* Configure TC1 channel 0 tmrTIMER_2_FREQUENCY frequency and trigger on\r
        RC compare.  This is the very high frequency timer. */\r
        TC_Configure( TC1, tmrTC1_CHANNEL_0, ulTCCLKS | TC_CMR_CPCTRG );\r
        TC1->TC_CHANNEL[ tmrTC1_CHANNEL_0 ].TC_RC = ( configCPU_CLOCK_HZ / 2 ) / ( tmrTIMER_2_FREQUENCY * ulDivider );\r
        TC1->TC_CHANNEL[ tmrTC1_CHANNEL_0 ].TC_IER = TC_IER_CPCS;\r
 \r
-    /* Configure and enable TC1 interrupt on RC compare */    \r
+    /* Configure and enable TC1 interrupt on RC compare */\r
 //     NVIC_SetPriority( TC1_IRQn, tmrHIGHER_PRIORITY );\r
 //    NVIC_ClearPendingIRQ( TC1_IRQn );\r
 //    NVIC_EnableIRQ( TC1_IRQn );\r
@@ -196,8 +196,8 @@ volatile uint32_t ulDummy;
        /* Keep a count of the number of interrupts to use as a time base for the\r
        run-time stats. */\r
        ulHighFrequencyTimerCounts++;\r
-       \r
-       /* Prevent compiler warnings about the variable being set but then \r
+\r
+       /* Prevent compiler warnings about the variable being set but then\r
        unused. */\r
        ( void ) ulDummy;\r
 }\r