diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-11-17 16:48:46 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-11-17 16:48:46 +0100 |
commit | 283f7affc8688c0b7622aff5e064def291e03419 (patch) | |
tree | e843ed2fed3448fe20a0ccbf88385fc4c263fee1 /sw | |
parent | bc8dbcc505b805cbbce07971afe87727e7dd522a (diff) | |
download | glutte-batteries-283f7affc8688c0b7622aff5e064def291e03419.tar.gz glutte-batteries-283f7affc8688c0b7622aff5e064def291e03419.tar.bz2 glutte-batteries-283f7affc8688c0b7622aff5e064def291e03419.zip |
Use correct ISR for timer
Diffstat (limited to 'sw')
-rw-r--r-- | sw/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/main.cpp b/sw/main.cpp index 3a6b63c..06ccc87 100644 --- a/sw/main.cpp +++ b/sw/main.cpp @@ -136,7 +136,7 @@ static timer_t system_timer; * Datasheet 11.9.1, example code from wdt.h */ uint8_t mcusr_mirror __attribute__ ((section (".noinit"))); -ISR(TIMER0_COMPA_vect) +ISR(TIMER0_OVF_vect) { system_timer += timer_t{0, TIMER_TICK_INTERVAL_US}; } |