From 155fc9a74328ecd18a8b4cb0df8bfd1f4509b79e Mon Sep 17 00:00:00 2001 From: Martin Preuss Date: Sat, 26 Apr 2025 11:07:31 +0200 Subject: [PATCH] uart_bitbang2: use new constants. --- avr/modules/uart_bitbang2/lowlevel.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/avr/modules/uart_bitbang2/lowlevel.asm b/avr/modules/uart_bitbang2/lowlevel.asm index 8e33535..48c1583 100644 --- a/avr/modules/uart_bitbang2/lowlevel.asm +++ b/avr/modules/uart_bitbang2/lowlevel.asm @@ -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