updating eyespi test to use const char
Updating EYESPI test to use const char to comply with new release of espressif BSP
This commit is contained in:
parent
7517167074
commit
2220e3d668
1 changed files with 1 additions and 1 deletions
|
|
@ -565,7 +565,7 @@ void show_canvas() {
|
||||||
display.setFont(&FreeSansBold18pt7b); // Use a custom font
|
display.setFont(&FreeSansBold18pt7b); // Use a custom font
|
||||||
display.setTextSize(1); // and reset to 1:1 scale
|
display.setTextSize(1); // and reset to 1:1 scale
|
||||||
|
|
||||||
char *label[] = { "X:", "Y:", "Z:" }; // Labels for each axis
|
const char *label[] = { "X:", "Y:", "Z:" }; // Labels for each axis
|
||||||
const uint16_t color[] = { 0xF800, 0x07E0, 0x001F }; // Colors for each value
|
const uint16_t color[] = { 0xF800, 0x07E0, 0x001F }; // Colors for each value
|
||||||
|
|
||||||
// To get the labels right-aligned, one option would be simple trial and
|
// To get the labels right-aligned, one option would be simple trial and
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue