From ea2cd6e58e14f344e47b95f35e0b0f7084043cb4 Mon Sep 17 00:00:00 2001 From: Martin Preuss Date: Thu, 5 Sep 2024 03:17:32 +0200 Subject: [PATCH] avr: reorganized data to simplify message creation. --- avr/modules/com2/main.asm | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/avr/modules/com2/main.asm b/avr/modules/com2/main.asm index 3291beb..0e1bba6 100644 --- a/avr/modules/com2/main.asm +++ b/avr/modules/com2/main.asm @@ -20,19 +20,22 @@ com2DataBegin: com2Interrupts: .byte 2 +com2RecvStatsBegin: ; 12 bytes com2StatsPacketsIn: .byte 2 - - com2StatsIoError: .byte 2 com2StatsContentError: .byte 2 + com2StatsIoError: .byte 2 com2StatsNoBufferError: .byte 2 - com2StatsIgnored: .byte 2 com2StatsHandled: .byte 2 com2StatsMissed: .byte 2 ; currently not used +com2RecvStatsEnd: +com2SendStatsBegin: ; 6 bytes com2StatsPacketsOut: .byte 2 - com2StatsBusyError: .byte 2 com2StatsCollisions: .byte 2 + com2StatsBusyError: .byte 2 +com2SendStatsEnd: + com2StatsIgnored: .byte 2 com2RecvBuffersUsed: .byte 1 com2MaxBuffersUsed: .byte 1