avr: more work on t03 and hw uart modules.
Too complicated, will start new...
This commit is contained in:
@@ -87,13 +87,14 @@ uartHwWriteUptoNumBytes:
|
||||
ldd xl, Y+UART_HW_IFACE_OFFS_WRITEMSG_PTR
|
||||
ldd xh, Y+UART_HW_IFACE_OFFS_WRITEMSG_PTR+1
|
||||
uartHwWriteUptoNumBytes_loop:
|
||||
ld r16, X+
|
||||
ld r16, X
|
||||
push xl
|
||||
push xh
|
||||
rcall UART_HW_InterfaceWriteToWriteBuffer ; (R17, R18, X)
|
||||
pop xh
|
||||
pop xl
|
||||
brcc uartHwWriteUptoNumBytes_done
|
||||
adiw xh:xl, 1
|
||||
inc r21
|
||||
dec r20
|
||||
brne uartHwWriteUptoNumBytes_loop
|
||||
|
||||
Reference in New Issue
Block a user