Skip to content

Commit 2220e3d

Browse files
committed
updating eyespi test to use const char
Updating EYESPI test to use const char to comply with new release of espressif BSP
1 parent 7517167 commit 2220e3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

EYESPI/Arduino/Color/EYESPI_Test/EYESPI_Test.ino

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

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

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

0 commit comments

Comments
 (0)