uart_bitbang2: use new constants.
This commit is contained in:
@@ -294,9 +294,9 @@ uartBitbang_SendPacket:
|
|||||||
rcall uartBitbang_WaitForOneBitLength ; wait for one bit duration (R22)
|
rcall uartBitbang_WaitForOneBitLength ; wait for one bit duration (R22)
|
||||||
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
|
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 dest addr
|
||||||
inc r17 ; account for msglen byte
|
inc r17 ; account for msglen byte
|
||||||
inc r17 ; account for crc byte
|
inc r17 ; account for crc byte
|
||||||
|
|||||||
Reference in New Issue
Block a user