c03: allocate settings.

This commit is contained in:
Martin Preuss
2026-05-09 02:02:35 +02:00
parent 2dec641f04
commit 8e6017a4ad

View File

@@ -96,7 +96,7 @@ C03App_Init:
; create main windows
rcall c03AppCreateWinMenu ; (any, !Y)
rcall c03AppCreateWinClimate ; (any, !Y)
rcall c03AppCreateWinNetStats ; (any, !Y)
; rcall c03AppCreateWinNetStats ; (any, !Y)
rcall c03AppCreateWinDebug ; (any, !Y)
rcall c03AppCreateScreenSaver ; (any, !Y)
@@ -246,8 +246,16 @@ c03AppCreateWinDebug_ret:
push yl
push yh
ldi r20, LOW(RESSOURCE_TXT_LEDCONNECTIONS)
ldi r21, HIGH(RESSOURCE_TXT_LEDCONNECTIONS)
push yl
push yh
bigcall LightSettings_new
ldi r16, 5
std Y+LIGHTSETTINGS_OFFS_SOURCE1_NODEADDR, r16
mov r20, yl
mov r21, yh
pop yh
pop yl
bigcall DlgLightConns_new
mov xl, yl
mov xh, yh