From 1f34bf126bf8651b0621e9bed6efd8701d33262e Mon Sep 17 00:00:00 2001 From: philmoz Date: Thu, 24 Apr 2025 08:32:47 +1000 Subject: [PATCH] fix(cpn): widget options may not be saved when models loaded from radio (#6131) Missed in #5365 --- companion/src/firmwares/customisation_data.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/companion/src/firmwares/customisation_data.h b/companion/src/firmwares/customisation_data.h index 0e9bb60ad..e202ea9d7 100644 --- a/companion/src/firmwares/customisation_data.h +++ b/companion/src/firmwares/customisation_data.h @@ -37,7 +37,7 @@ constexpr int LEN_ZONE_OPTION_STRING {8}; constexpr int MAX_LAYOUT_ZONES {10}; constexpr int MAX_LAYOUT_OPTIONS {10}; constexpr int WIDGET_NAME_LEN {20}; -constexpr int MAX_WIDGET_OPTIONS {5}; +constexpr int MAX_WIDGET_OPTIONS {10}; constexpr int MAX_TOPBAR_ZONES {6}; // max 4 used for portrait constexpr int MAX_TOPBAR_OPTIONS {1}; constexpr int LAYOUT_ID_LEN {12};