# HG changeset patch # User Ideenmodellierer # Date 1761592163 -3600 # Node ID 52fd91414b6cd4b6904053bc04ed8f0ef022895f # Parent 7efc8baa3ffa5885f40ed978d11da56b7b15fcdb Improvments scrubber timer: The scrubbertime in the CCR sumary view was not right aligned. This has been changed => the line matches the layout of the other lines. In addition the scrubber display mode was not visible after opening the scrubber menu because its drawing was depending on a function parameter which was not set by the open function. diff -r 7efc8baa3ffa -r 52fd91414b6c Discovery/Src/t7.c --- a/Discovery/Src/t7.c Mon Oct 27 20:06:27 2025 +0100 +++ b/Discovery/Src/t7.c Mon Oct 27 20:09:23 2025 +0100 @@ -1949,7 +1949,7 @@ data[dataIndex++] = '\n'; data[dataIndex++] = '\r'; - data[dataIndex++] = '\t'; + data[dataIndex++] = '\002'; dataIndex += printScrubberText(&data[dataIndex], 10, settings->scrubberData, settings, false); } diff -r 7efc8baa3ffa -r 52fd91414b6c Discovery/Src/tMenuEditXtra.c --- a/Discovery/Src/tMenuEditXtra.c Mon Oct 27 20:06:27 2025 +0100 +++ b/Discovery/Src/tMenuEditXtra.c Mon Oct 27 20:09:23 2025 +0100 @@ -274,20 +274,14 @@ } write_label_var(20, 780, ME_Y_LINE5, &FontT48, text); - if (isRefresh) { - switch (settings->scrubTimerMode) { - case SCRUB_TIMER_MINUTES: - default: - snprintf(text, 32, "%c\002%c", TXT_ScrubTimeMode, TXT_Minutes); - - break; - case SCRUB_TIMER_PERCENT: - snprintf(text, 32, "%c\002%c", TXT_ScrubTimeMode, TXT_Percent); - - break; - } - write_field_button(StMXTRA_ScrubTimer_OP_Mode, 20, 780, ME_Y_LINE6, &FontT48, text); + switch (settings->scrubTimerMode) { + case SCRUB_TIMER_MINUTES: + default: snprintf(text, 32, "%c\002%c", TXT_ScrubTimeMode, TXT_Minutes); + break; + case SCRUB_TIMER_PERCENT: snprintf(text, 32, "%c\002%c", TXT_ScrubTimeMode, TXT_Percent); + break; } + write_field_button(StMXTRA_ScrubTimer_OP_Mode, 20, 780, ME_Y_LINE6, &FontT48, text); setEvent(StMXTRA_ScrubTimer, (uint32_t)OnAction_ScrubberTimerId); setEvent(StMXTRA_ScrubTimer_Active, (uint32_t)OnAction_ScrubberActive);