We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f5d9bed commit 4821aa4Copy full SHA for 4821aa4
examples/led_matrix/led_matrix.ino
@@ -46,7 +46,7 @@ void update_menu() {
46
ledMatrix.setfont(FONT_5x7);
47
48
Menu const* menu = ms.get_current_menu();
49
- char* name = menu->get_selected()->get_name();
+ const char* name = menu->get_selected()->get_name();
50
51
// Calculate indentation for center alignment
52
int text_width = FONT_WIDTH * strlen(name);
0 commit comments