avr: don't wait before checking ATTN line.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user