summaryrefslogtreecommitdiff
path: root/src/displayapp/screens/List.cpp
diff options
context:
space:
mode:
authorMichele Bini <michele.bini@gmail.com>2022-06-03 10:23:25 (GMT)
committerMichele Bini <michele.bini@gmail.com>2022-06-07 03:20:51 (GMT)
commit8b322a66a7dc9572a9a2e13b615fdd60b054f8e9 (patch)
tree3df311293ae455428b74daa35c99eabfb92714a1 /src/displayapp/screens/List.cpp
parent984316be128d98aa042a7a5f96aa30cc2637b3e5 (diff)
Preallocate blocks for tiled multi-screen menus (requires C++17)
Diffstat (limited to 'src/displayapp/screens/List.cpp')
-rw-r--r--src/displayapp/screens/List.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/displayapp/screens/List.cpp b/src/displayapp/screens/List.cpp
index 0bc7da8..333605f 100644
--- a/src/displayapp/screens/List.cpp
+++ b/src/displayapp/screens/List.cpp
@@ -15,7 +15,7 @@ List::List(uint8_t screenID,
uint8_t numScreens,
DisplayApp* app,
Controllers::Settings& settingsController,
- std::array<Applications, MAXLISTITEMS>& applications)
+ const std::array<Applications, MAXLISTITEMS>& applications)
: Screen(app), settingsController {settingsController} {
// Set the background to Black