Fix the timer ISR name

This commit is contained in:
jeltz 2020-12-30 06:28:41 +01:00
parent 42ec772bd5
commit a6f60bbf4e
Signed by: jeltz
GPG key ID: 800882B66C0C3326

View file

@ -32,7 +32,7 @@
#include <avr/io.h>
#include "avr.h"
ISR(TIMER0_OVF_vect) {
ISR(TIMER1_COMPA_vect) {
run_timers();
}
@ -50,7 +50,7 @@ void init_timer1() {
}
void atomic_memcpy(void *dest, const void *src, size_t size) {
ATOMIC_BLOCK(ATOMIC_FORCEON) {
ATOMIC_BLOCK(ATOMIC_RESTORESTATE) {
memcpy(dest, src, size);
}
}