summaryrefslogtreecommitdiff
path: root/include/arch/msp430fr5994lp/driver
diff options
context:
space:
mode:
Diffstat (limited to 'include/arch/msp430fr5994lp/driver')
-rw-r--r--include/arch/msp430fr5994lp/driver/counter.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/arch/msp430fr5994lp/driver/counter.h b/include/arch/msp430fr5994lp/driver/counter.h
index 1d7800a..429de39 100644
--- a/include/arch/msp430fr5994lp/driver/counter.h
+++ b/include/arch/msp430fr5994lp/driver/counter.h
@@ -5,7 +5,7 @@
#include <stdint.h>
typedef uint16_t counter_value_t;
-typedef uint8_t counter_overflow_t;
+typedef uint16_t counter_overflow_t;
class Counter {
private:
@@ -13,7 +13,7 @@ class Counter {
public:
uint16_t value;
- volatile uint8_t overflow;
+ volatile uint16_t overflow;
Counter() : overflow(0) {}