rename to keypad_printer
This commit is contained in:
parent
108e5af0b9
commit
2a13ce0ca4
4
main.s65
4
main.s65
@ -1,7 +1,7 @@
|
||||
.include "system/system.h65"
|
||||
.include "string.h65"
|
||||
.export home,homeloop
|
||||
.import printer:absolute
|
||||
.import keypad_printer:absolute
|
||||
.import spi_menu:absolute
|
||||
|
||||
.code
|
||||
@ -135,7 +135,7 @@ reset:
|
||||
lda 0
|
||||
; beq home
|
||||
cmp #'A'
|
||||
jeq printer
|
||||
jeq keypad_printer
|
||||
cmp #'B'
|
||||
jeq spi_menu
|
||||
cmp #'C'
|
||||
|
@ -4,7 +4,7 @@
|
||||
.ifndef INCLUDE_PRINTER
|
||||
INCLUDE_PRINTER = 1
|
||||
|
||||
.global printer
|
||||
.global keypad_printer
|
||||
.import home:absolute
|
||||
|
||||
.endif ; guard
|
@ -1,9 +1,9 @@
|
||||
.include "printer.h65"
|
||||
.include "keypad_printer.h65"
|
||||
.include "lcd.h65"
|
||||
.include "keypad.h65"
|
||||
|
||||
.code
|
||||
.proc printer
|
||||
.proc keypad_printer
|
||||
jsr lcd::clear
|
||||
@printer_loop:
|
||||
jsr kp::read
|
Loading…
Reference in New Issue
Block a user