Skip to content

Commit c33ff22

Browse files
committed
fix small compile complaint
1 parent aad0f12 commit c33ff22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/16bit_hello/16bit_hello.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ void show_canvas() {
510510
display.setFont(&FreeSansBold18pt7b); // Use a custom font
511511
display.setTextSize(1); // and reset to 1:1 scale
512512

513-
char *label[] = { "X:", "Y:", "Z:" }; // Labels for each axis
513+
const char *label[] = { "X:", "Y:", "Z:" }; // Labels for each axis
514514
const uint16_t color[] = { 0xF800, 0x07E0, 0x001F }; // Colors for each value
515515

516516
// To get the labels right-aligned, one option would be simple trial and

0 commit comments

Comments
 (0)