File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -41,20 +41,14 @@ volatile uint32_t systick_ms = 0;
4141 * The systick interrupt service routine (ISR) which will be called every millisecond.
4242 */
4343void systick_isr_C (void ) {
44- /* Disable the timer interrupt */
45- TimerIntDisable (SOC_TMR_0_REGS , TMR_INT_TMR34_NON_CAPT_MODE );
46-
4744 /* Clear the interrupt status in AINTC and in timer */
4845 IntSystemStatusClear (SYS_INT_TINT34_0 );
49- TimerIntStatusClear (SOC_TMR_0_REGS , TMR_INT_TMR34_NON_CAPT_MODE );
46+ TimerIntStatusClear (SOC_TMR_0_REGS , TMR_INTSTAT34_TIMER_NON_CAPT );
5047
5148 ++ systick_ms ;
5249
5350 etimer_request_poll ();
5451 pbio_os_request_poll ();
55-
56- /* Enable the timer interrupt */
57- TimerIntEnable (SOC_TMR_0_REGS , TMR_INT_TMR34_NON_CAPT_MODE );
5852}
5953
6054/**
You can’t perform that action at this time.
0 commit comments