Skip to content

Commit

Permalink
fix compile error
Browse files Browse the repository at this point in the history
by making the button labels even more const
  • Loading branch information
minacode committed Nov 24, 2024
1 parent 8c47941 commit 8c30a35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/displayapp/screens/Calculator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 8c30a35

Please sign in to comment.