add guard

This commit is contained in:
matthias@rpi 2023-11-09 12:08:26 +01:00
parent cb203bf62d
commit 60f42f2d90

View File

@ -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