Change subroutines name

This commit is contained in:
2025-12-25 23:15:42 +01:00
parent 90b498dd94
commit 8a62a65805
2 changed files with 9 additions and 6 deletions
+5 -2
View File
@@ -13,8 +13,8 @@ main:
;cbi DDRB, PB5 ; Set EC11 button (555 square wave) on PB4 as input
ldi r26, 60 ; Default BPM //TODO: save to eeprom not register, on runtime also ldi on r24 register
rcall timer0_ld
rcall timer1_ld
rcall timer0_set
rcall timer1_set
; interrupts:
@@ -37,6 +37,9 @@ loop:
;rcall midi_send ; Send MIDI ping
//FIXME: do this with interrupts. its much more efficient
// remove the polling shit and move stop_blink or an ISR
// check if need to change internal logic on led.inc
; if midi clock then also do: rcall start_blink
in r16, TIFR0 ; Read Interrupt Flag Register
sbrs r16, OCF0A ; If timer status OCF0A=1 skip jump