summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-10-16 13:58:48 +0200
committerDaniel Friesel <derf@finalrewind.org>2018-10-16 13:58:48 +0200
commitad6008f95f597e9ce57b094a8522587ab9372fd7 (patch)
tree8d829f93640472412121bec154b00c2b3344f757
parent1a0aaa326afa8e9b06795755cacea72b464393ad (diff)
Fix an incredibly stupid bug
-rw-r--r--include/arch/msp430fr5969lp/driver/timer.h2
1 files changed, 1 insertions, 1 deletions
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;
}
};