From ad6008f95f597e9ce57b094a8522587ab9372fd7 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 16 Oct 2018 13:58:48 +0200 Subject: Fix an incredibly stupid bug --- include/arch/msp430fr5969lp/driver/timer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/arch') diff --git a/include/arch/msp430fr5969lp/driver/timer.h b/include/arch/msp430fr5969lp/driver/timer.h index 9585a64..de87c20 100644 --- a/include/arch/msp430fr5969lp/driver/timer.h +++ b/include/arch/msp430fr5969lp/driver/timer.h @@ -68,7 +68,7 @@ class Timer { } inline void stop() { - TA0CTL = 0; + TA0CTL &= ~TAIE; } }; -- cgit v1.2.3