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
|
||||
;
|
||||
|
||||
@@ -504,6 +504,7 @@ Debug_Style:
|
||||
|
||||
.include "common/divide.asm"
|
||||
.include "common/multiply.asm"
|
||||
.include "common/multiply8.asm"
|
||||
.include "common/itoa.asm"
|
||||
.include "common/ressource.asm"
|
||||
.include "common/list.asm"
|
||||
@@ -530,6 +531,9 @@ GUI_MODULE_BEGIN:
|
||||
.include "modules/lcd2/gui/base/mclayout.asm"
|
||||
.include "modules/lcd2/gui/base/hspinner.asm"
|
||||
.include "modules/lcd2/gui/base/mainwindow.asm"
|
||||
.include "modules/lcd2/gui/base/keypad.asm"
|
||||
.include "modules/lcd2/gui/base/keypad_num.asm"
|
||||
.include "modules/lcd2/gui/base/d_numinput.asm"
|
||||
.include "modules/lcd2/gui/aqhome/sensorwatch.asm"
|
||||
.include "modules/lcd2/gui/aqhome/lightsettings.asm"
|
||||
.include "modules/lcd2/gui/screensavers/simple.asm"
|
||||
|
||||
Reference in New Issue
Block a user