avr: add delay when sending messages in boot loader.

This commit is contained in:
Martin Preuss
2024-10-28 23:42:55 +01:00
parent 9c35e7a006
commit 2626c4365c

View File

@@ -35,7 +35,10 @@ flashSendPacketUntilSuccess:
brcc flashSendPacket_error
ret
flashSendPacket_error:
rcall flashWaitForAttnHigh ; (R16, R17, R18, R22, R24, R25, X)
ldi r16, 3
rcall flashWaitForMulti100ms
rcall flashWaitForAttnHigh ; (R16, R17, R18, R22, R24, R25)
rjmp flashSendPacketUntilSuccess