avr: adapted to latest changes in COM2 module (using uartBitbang)
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
flashSendPacketUntilSuccess:
|
||||
push xl
|
||||
push xh
|
||||
rcall COM2_SendPacketWithAttn ; (R16, R17, R21, R22, X)
|
||||
rcall uartBitbang_SendPacket ; (R16, R17, R21, R22, X)
|
||||
pop xh
|
||||
pop xl
|
||||
brcc flashSendPacket_error
|
||||
@@ -50,7 +50,7 @@ flashSendPacket_error:
|
||||
; REGS: (R16, R17, R18, R22, R24, R25)
|
||||
|
||||
flashWaitForAttnHigh:
|
||||
rcall com2WaitForAttnHigh ; (r17, r22)
|
||||
rcall uartBitbang_WaitForAttnHigh ; (r17, r22)
|
||||
brcc flashWaitForAttnHigh_stillLow
|
||||
ret
|
||||
flashWaitForAttnHigh_stillLow:
|
||||
|
||||
Reference in New Issue
Block a user