Global: Set many read-only params as const.

This makes what they do and which args to use clearer, if nothing else.
This commit is contained in:
Unknown W. Brackets committed 2022-12-10 21:13:36 -08:00
1 parent e3fdb183f6
commit a7b7bf7826
71 files changed
+113 -119

No files matched your search

+1 -1
View File
@@ -271,7 +271,7 @@ void ComboKeyScreen::CreateViews() {
}
}
static uint64_t arrayToInt(bool ary[ARRAY_SIZE(CustomKey::comboKeyList)]) {
static uint64_t arrayToInt(const bool ary[ARRAY_SIZE(CustomKey::comboKeyList)]) {
uint64_t value = 0;
for (int i = ARRAY_SIZE(CustomKey::comboKeyList)-1; i >= 0; i--) {
value |= ary[i] ? 1 : 0;