From 8e6017a4add6de49db93bc861edd7e3f7585aff9 Mon Sep 17 00:00:00 2001 From: Martin Preuss Date: Sat, 9 May 2026 02:02:35 +0200 Subject: [PATCH] c03: allocate settings. --- avr/devices/c03/main/a_c03.asm | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/avr/devices/c03/main/a_c03.asm b/avr/devices/c03/main/a_c03.asm index 8e1a37b..29985e5 100644 --- a/avr/devices/c03/main/a_c03.asm +++ b/avr/devices/c03/main/a_c03.asm @@ -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