From 7d9f3225ef4c70de5cd2d40cd6de0f486cfba5b6 Mon Sep 17 00:00:00 2001 From: Martin Preuss Date: Mon, 10 Apr 2023 01:02:25 +0200 Subject: [PATCH] avr: only include lcd strings if lcs module is used. --- avr/main.asm | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/avr/main.asm b/avr/main.asm index 63e6aea..25686e2 100644 --- a/avr/main.asm +++ b/avr/main.asm @@ -339,12 +339,14 @@ sendValueMsg_done: ret -textStatsPacketsIn: .db "In : ", 0 -textStatsPacketsRecvErr: .db "RecvErr: ", 0 -textStatsPacketsOut: .db "Out : ", 0 -textUid: .db "UID : ", 0 -textAddress: .db "ADDR :", 0, 0 -textBitmap: .db "BITMAP :", 0, 0 +#ifdef MODULES_LCD + textStatsPacketsIn: .db "In : ", 0 + textStatsPacketsRecvErr: .db "RecvErr: ", 0 + textStatsPacketsOut: .db "Out : ", 0 + textUid: .db "UID : ", 0 + textAddress: .db "ADDR :", 0, 0 + textBitmap: .db "BITMAP :", 0, 0 +#endif #endif #endif