summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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++;
}
}