avr: test keypads.
This commit is contained in:
@@ -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
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user