diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-03-05 15:42:41 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-03-05 15:42:41 +0100 |
commit | 32b799a03cf07de504a77b19432dc523166f472b (patch) | |
tree | 7461a1476ade1bfcd68a4236de35167dd402b0f4 /src/arch | |
parent | bda22fb5f8c9267943b9653031d279fe14edcd2a (diff) |
counter: rename overflowed to overflow
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/arduino-nano/driver/counter.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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++; } } |