avr: adapted to latest changes in COM2 module (using uartBitbang)

This commit is contained in:
Martin Preuss
2024-10-25 00:15:24 +02:00
parent e232b4adbf
commit 3546c93d23
20 changed files with 174 additions and 66 deletions

View File

@@ -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: