# HG changeset patch # User Ideenmodellierer # Date 1760637335 -7200 # Node ID 93c98a28406c400df17c592cf5fd150062a80716 # Parent 74be24428049064b8baaef5ab9e422a7c2635400 Bugfix missing SYS header in dive menu: The SYS header in the diving menu was missing. Rootcause was a missing array entry which was not created while adding the new SYS tab for custom options. diff -r 74be24428049 -r 93c98a28406c Discovery/Src/tMenu.c --- a/Discovery/Src/tMenu.c Mon Oct 13 20:54:25 2025 +0200 +++ b/Discovery/Src/tMenu.c Thu Oct 16 19:55:35 2025 +0200 @@ -578,17 +578,17 @@ */ + tM_add(StMSYS); //now in both modes if(actual_menu_content == MENU_SURFACE) { tM_add(StMDECO); tM_add(StMHARD); + tM_add(StMCustom); tM_add(StMOption); - tM_add(StMSYS); - tM_add(StMCustom); +// tM_add(StMSYS); now in both modes } else { - tM_add(StMSYS); //now in both modes (dive mode) tM_add(StMXTRA); } if(actual_menu_content == MENU_SURFACE) @@ -1379,7 +1379,8 @@ "", "", "", - "SIM" + "SIM", + "" }; _Bool spacing[MAXPAGES+1] = @@ -1412,6 +1413,7 @@ gfx_write_page_number(&tMscreen ,menu.pageCountNumber[page],menu.pageCountTotal,0); + /* Find the matching master text if a tab has no direct name e.g. SYS subtabs */ while((text8max[pageText][0] == 0) && (pageText > 1)) { pageText--;