From 32b799a03cf07de504a77b19432dc523166f472b Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 5 Mar 2019 15:42:41 +0100 Subject: counter: rename overflowed to overflow --- src/arch/arduino-nano/driver/counter.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/arch/arduino-nano/driver/counter.cc b/src/arch/arduino-nano/driver/counter.cc index 894a882..2529b0e 100644 --- a/src/arch/arduino-nano/driver/counter.cc +++ b/src/arch/arduino-nano/driver/counter.cc @@ -8,7 +8,7 @@ Counter counter; ISR(TIMER1_OVF_vect) { - if (counter.overflowed < 255) { - counter.overflowed++; + if (counter.overflow < 255) { + counter.overflow++; } } -- cgit v1.2.3