From f0c087f4ab3cae2d8da65cf51bb5b0e69fe72a76 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 4 Mar 2019 15:31:21 +0100 Subject: counter: Provide typedefs fore value/overflow type --- include/arch/arduino-nano/driver/counter.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/arch/arduino-nano/driver') diff --git a/include/arch/arduino-nano/driver/counter.h b/include/arch/arduino-nano/driver/counter.h index 9105219..43ddd15 100644 --- a/include/arch/arduino-nano/driver/counter.h +++ b/include/arch/arduino-nano/driver/counter.h @@ -1,6 +1,9 @@ #include #include +typedef counter_value_t uint16_t; +typedef counter_overflowed_t uint8_t; + class Counter { private: Counter(const Counter ©); -- cgit v1.2.3