diff --git a/avr/devices/n00/n00_main.asm b/avr/devices/n00/n00_main.asm index 1e55888..fb4c322 100644 --- a/avr/devices/n00/n00_main.asm +++ b/avr/devices/n00/n00_main.asm @@ -100,7 +100,7 @@ reti ; OC1A reti ; OC1B reti ; OVF1 - rjmp timerIrqOC0A ; OC0A + rjmp baseTimerIrqOC0A ; OC0A reti ; OC0B reti ; OVF0 reti ; ACI @@ -129,6 +129,8 @@ firmwareStart: rjmp main .include "common/utils_copy_sdram.asm" .include "common/crc8.asm" +.include "modules/basetimer/main.asm" + #ifdef MODULES_TIMER .include "modules/timer/main.asm" #endif @@ -244,6 +246,26 @@ timerList: .include "main.asm" +systemSetSpeed: +.if clock == 8000000 + ldi r16, (1<