fix(cpn): adjust maximum count of top bar widgets for wider screens (#6867)

This commit is contained in:
philmoz
2025-12-12 10:48:26 +10:00
committed by GitHub
parent 36eb888b86
commit a9b4d6b094
+1 -1
View File
@@ -38,7 +38,7 @@ constexpr int MAX_LAYOUT_ZONES {10};
constexpr int MAX_LAYOUT_OPTIONS {10};
constexpr int WIDGET_NAME_LEN {255}; // TODO: use std::string instead of fixed length char array
constexpr int MAX_WIDGET_OPTIONS {50};
constexpr int MAX_TOPBAR_ZONES {6}; // max 4 used for portrait
constexpr int MAX_TOPBAR_ZONES {7}; // 4 for portrait LCD, 6 for standard LCD, 7 for wide screen LCD
constexpr int MAX_TOPBAR_OPTIONS {1};
constexpr int LAYOUT_ID_LEN {255}; // TODO: use std::string instead of fixed length char array