c03: debug dialog: DlgNodeValueId.
This commit is contained in:
@@ -165,7 +165,7 @@ c03AppCreateWinClimate_ret:
|
||||
; @clobbers !X
|
||||
|
||||
c03AppCreateWinDebug:
|
||||
#if 1
|
||||
#if 0
|
||||
push yl
|
||||
push yh
|
||||
push yl
|
||||
@@ -188,7 +188,9 @@ c03AppCreateWinDebug:
|
||||
sec
|
||||
c03AppCreateWinDebug_ret:
|
||||
ret
|
||||
#else
|
||||
#endif
|
||||
|
||||
#if 0
|
||||
push yl
|
||||
push yh
|
||||
ldi r20, LOW(RESSOURCE_TXT_LIGHTSETTINGS)
|
||||
@@ -207,6 +209,38 @@ c03AppCreateWinDebug_ret:
|
||||
c03AppCreateWinDebug_ret:
|
||||
ret
|
||||
#endif
|
||||
|
||||
#if 1
|
||||
push yl
|
||||
push yh
|
||||
|
||||
ldi r20, LOW(RESSOURCE_TXT_MOTIONSENSOR1)
|
||||
ldi r21, HIGH(RESSOURCE_TXT_MOTIONSENSOR1)
|
||||
bigcall DlgNodeValueId_new
|
||||
mov xl, yl
|
||||
mov xh, yh
|
||||
|
||||
push xl
|
||||
push xh
|
||||
ldi xl, 5
|
||||
clr xh
|
||||
bigcall DlgNodeValueId_SetValueId
|
||||
pop xh
|
||||
pop xl
|
||||
sec
|
||||
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
|
||||
|
||||
|
||||
|
||||
@@ -539,6 +539,7 @@ GUI_MODULE_BEGIN:
|
||||
.include "modules/lcd2/gui/base/cdialog.asm"
|
||||
.include "modules/lcd2/gui/aqhome/sensorwatch.asm"
|
||||
.include "modules/lcd2/gui/aqhome/lightsettings.asm"
|
||||
.include "modules/lcd2/gui/aqhome/d_nodevalueid.asm"
|
||||
.include "modules/lcd2/gui/screensavers/simple.asm"
|
||||
GUI_MODULE_END:
|
||||
.equ MODULE_SIZE_GUI = GUI_MODULE_END-GUI_MODULE_BEGIN
|
||||
|
||||
Reference in New Issue
Block a user