avr: test keypads.

This commit is contained in:
Martin Preuss
2026-05-06 00:26:20 +02:00
parent 4d57f15dad
commit 957c2ccc71
2 changed files with 26 additions and 0 deletions

View File

@@ -165,6 +165,7 @@ c03AppCreateWinClimate_ret:
; @clobbers !X
c03AppCreateWinDebug:
#if 0
push yl
push yh
push yl
@@ -187,10 +188,31 @@ c03AppCreateWinDebug:
sec
c03AppCreateWinDebug_ret:
ret
#else
push yl
push yh
ldi r20, LOW(RESSOURCE_TXT_LIGHTSETTINGS)
ldi r21, HIGH(RESSOURCE_TXT_LIGHTSETTINGS)
bigcall DlgNumInput_new
mov xl, yl
mov xh, yh
pop yh
pop yl
brcc c03AppCreateWinDebug_ret
std Y+C03APP_OFFS_WDEBUG_LO, xl
std Y+C03APP_OFFS_WDEBUG_HI, xh
ldi r16, C03APP_SEL_DEBUG
rcall c03AppSetTargetAndSelector
sec
c03AppCreateWinDebug_ret:
ret
#endif
; @end
; ---------------------------------------------------------------------------
; @routine c03AppCreateWinNetStats
;