From 60f42f2d903ce5c0dc0846fa1a6581466713b97a Mon Sep 17 00:00:00 2001 From: "matthias@rpi" Date: Thu, 9 Nov 2023 12:08:26 +0100 Subject: [PATCH] add guard --- system/lcd.s65 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/system/lcd.s65 b/system/lcd.s65 index 7f852ec..6343606 100644 --- a/system/lcd.s65 +++ b/system/lcd.s65 @@ -13,6 +13,8 @@ ; @optparam LCD_MEM: Memory address for a runtime variable. Default = $300 ; @depends IO-W65C22N ;******************************************************************************** +.ifndef INCLUDE_LCD +INCLUDE_LCD = 1 .ifndef LCD_IO .fatal "LCD_IO is not defined: set it to the base address of the IO chip of the LCD" @@ -228,3 +230,4 @@ LCD_CLEAR = %00000000 jsr _lcd_cmd rts .endproc +.endif