Rewrite for GNU compiler compat
This commit is contained in:
+6
-8
@@ -15,13 +15,13 @@
|
||||
.org 0x0006 ; TIMER1_COMPA
|
||||
rjmp timer1_isr
|
||||
|
||||
.dseg
|
||||
timer0_overflow_count: .byte 1
|
||||
|
||||
.cseg
|
||||
clr r0
|
||||
sts timer0_overflow_count, r0
|
||||
.data
|
||||
.global timer0_overflow_count
|
||||
timer0_overflow_count:
|
||||
.byte 1
|
||||
|
||||
.text
|
||||
.global main
|
||||
|
||||
#define __SFR_OFFSET 0
|
||||
#include <avr/io.h>
|
||||
@@ -30,8 +30,6 @@
|
||||
#include "tap-tempo.inc"
|
||||
;#include "midi.inc"
|
||||
|
||||
.global main
|
||||
|
||||
main:
|
||||
ldi r16, lo8(RAMEND)
|
||||
out SPL, r0 ; Setup stack pointer LOW
|
||||
|
||||
Reference in New Issue
Block a user