From 5624d9cd7ead7052587b80a6ca63af7d6fe66f0c Mon Sep 17 00:00:00 2001 From: Martin Vladic Date: Thu, 28 Jan 2021 09:48:07 +0100 Subject: [PATCH] #59 --- src/eez/modules/psu/gui/psu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/eez/modules/psu/gui/psu.cpp b/src/eez/modules/psu/gui/psu.cpp index 9bd1ea648..e7d7348a9 100644 --- a/src/eez/modules/psu/gui/psu.cpp +++ b/src/eez/modules/psu/gui/psu.cpp @@ -2051,7 +2051,7 @@ uint16_t transformColorHook(uint16_t color) { if (slotColor) { return color + slotColor - 1; } else { - return color; + return color + psu::CH_NUM + hmi::g_selectedSlotIndex; } } } else if (color == COLOR_ID_LABELS_AND_COLORS_PAGE_SLOT_COLOR) {