uart_bitbang2: use new constants.

This commit is contained in:
Martin Preuss
2025-04-26 11:07:31 +02:00
parent a03fc012f4
commit 155fc9a743

View File

@@ -294,9 +294,9 @@ uartBitbang_SendPacket:
rcall uartBitbang_WaitForOneBitLength ; wait for one bit duration (R22)
rcall uartBitbang_WaitForOneBitLength ; wait for one bit duration (R22)
adiw xh:xl, COM2_MSG_OFFS_MSGLEN
adiw xh:xl, NETMSG_OFFS_MSGLEN
ld r17, X
sbiw xh:xl, COM2_MSG_OFFS_MSGLEN
sbiw xh:xl, NETMSG_OFFS_MSGLEN
inc r17 ; account for dest addr
inc r17 ; account for msglen byte
inc r17 ; account for crc byte