avr: add delay when sending messages in boot loader.
This commit is contained in:
@@ -35,7 +35,10 @@ flashSendPacketUntilSuccess:
|
|||||||
brcc flashSendPacket_error
|
brcc flashSendPacket_error
|
||||||
ret
|
ret
|
||||||
flashSendPacket_error:
|
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
|
rjmp flashSendPacketUntilSuccess
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user