add guard
This commit is contained in:
parent
cb203bf62d
commit
60f42f2d90
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user