From 0448c64be4be55ac53228972b274300e0418ad4c Mon Sep 17 00:00:00 2001 From: giomba Date: Sun, 27 Jun 2021 23:08:47 +0200 Subject: [PATCH] do nothing while not in interrupt --- main.S | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/main.S b/main.S index f763f54..26a1ca5 100644 --- a/main.S +++ b/main.S @@ -35,23 +35,8 @@ main: sei ; global interrupt enable 1: - sbi IO(PORTB), 5 - ldi r18, 0 -2: - dec r18 - brne 2b - - cbi IO(PORTB), 5 - - ldi r18, 0 -3: - dec r18 - brne 3b - rjmp 1b - jmp . - .global int_horizontal_sync int_horizontal_sync: push r31