avr: don't wait before checking ATTN line.

This commit is contained in:
Martin Preuss
2024-09-18 00:13:37 +02:00
parent 5b3c813981
commit 3bec999ae0

View File

@@ -77,7 +77,7 @@ COM2_SendPacketWithAttn:
push r15 push r15
in r15, SREG in r15, SREG
cli cli
rcall com2WaitForOneBitLength ; wait for one bit duration (R22) ; rcall com2WaitForOneBitLength ; wait for one bit duration (R22)
; check for ATTN line: busy? ; check for ATTN line: busy?
cbi COM_PORT_ATTN, COM_PINNUM_ATTN ; disable pullup on ATTN cbi COM_PORT_ATTN, COM_PINNUM_ATTN ; disable pullup on ATTN
cbi COM_DDR_ATTN, COM_PINNUM_ATTN ; set ATTN as input cbi COM_DDR_ATTN, COM_PINNUM_ATTN ; set ATTN as input