From 8c30a35eafad11062374503654580b49a065e58d Mon Sep 17 00:00:00 2001 From: minacode Date: Sun, 24 Nov 2024 13:57:49 +0100 Subject: [PATCH] fix compile error by making the button labels even more const --- src/displayapp/screens/Calculator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/displayapp/screens/Calculator.cpp b/src/displayapp/screens/Calculator.cpp index 5f51b88dbd..9143ccf565 100644 --- a/src/displayapp/screens/Calculator.cpp +++ b/src/displayapp/screens/Calculator.cpp @@ -16,7 +16,7 @@ Calculator::~Calculator() { lv_obj_clean(lv_scr_act()); } -constexpr char* const buttonMap[] = { +constexpr const char* const buttonMap[] = { "7", "8", "9", Symbols::backspace, "\n", "4", "5", "6", "+ -", "\n", "1", "2", "3", "* /", "\n", "0", ".", "(-)", "=", ""}; Calculator::Calculator() {