rename to keypad_printer

This commit is contained in:
matthias@arch 2024-01-07 00:39:51 +01:00
parent 108e5af0b9
commit 2a13ce0ca4
3 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
.include "system/system.h65" .include "system/system.h65"
.include "string.h65" .include "string.h65"
.export home,homeloop .export home,homeloop
.import printer:absolute .import keypad_printer:absolute
.import spi_menu:absolute .import spi_menu:absolute
.code .code
@ -135,7 +135,7 @@ reset:
lda 0 lda 0
; beq home ; beq home
cmp #'A' cmp #'A'
jeq printer jeq keypad_printer
cmp #'B' cmp #'B'
jeq spi_menu jeq spi_menu
cmp #'C' cmp #'C'

View File

@ -4,7 +4,7 @@
.ifndef INCLUDE_PRINTER .ifndef INCLUDE_PRINTER
INCLUDE_PRINTER = 1 INCLUDE_PRINTER = 1
.global printer .global keypad_printer
.import home:absolute .import home:absolute
.endif ; guard .endif ; guard

View File

@ -1,9 +1,9 @@
.include "printer.h65" .include "keypad_printer.h65"
.include "lcd.h65" .include "lcd.h65"
.include "keypad.h65" .include "keypad.h65"
.code .code
.proc printer .proc keypad_printer
jsr lcd::clear jsr lcd::clear
@printer_loop: @printer_loop:
jsr kp::read jsr kp::read