Loading include/arch/msp430fr5994lp/driver/counter.h +3 −1 Original line number Diff line number Diff line Loading @@ -26,7 +26,9 @@ class Counter { overflow = 0; TA2CTL = TASSEL__SMCLK | ID__1 | MC__CONTINUOUS; TA2EX0 = 0; TA2CTL |= TACLR | TAIE; TA2CTL |= TACLR; asm volatile("nop"); TA2CTL |= TAIE; asm volatile("nop"); __eint(); asm volatile("nop"); Loading Loading
include/arch/msp430fr5994lp/driver/counter.h +3 −1 Original line number Diff line number Diff line Loading @@ -26,7 +26,9 @@ class Counter { overflow = 0; TA2CTL = TASSEL__SMCLK | ID__1 | MC__CONTINUOUS; TA2EX0 = 0; TA2CTL |= TACLR | TAIE; TA2CTL |= TACLR; asm volatile("nop"); TA2CTL |= TAIE; asm volatile("nop"); __eint(); asm volatile("nop"); Loading