summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-03-05 15:42:41 +0100
committerDaniel Friesel <derf@finalrewind.org>2019-03-05 15:42:41 +0100
commit32b799a03cf07de504a77b19432dc523166f472b (patch)
tree7461a1476ade1bfcd68a4236de35167dd402b0f4 /src
parentbda22fb5f8c9267943b9653031d279fe14edcd2a (diff)
counter: rename overflowed to overflow
Diffstat (limited to 'src')
-rw-r--r--src/arch/arduino-nano/driver/counter.cc4
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++;
}
}