Compare commits

...

1 commit
master ... sdk2

Author SHA1 Message Date
ladyada
0a2b653490 fix small compile complaint 2024-09-19 16:10:51 -04:00

View file

@ -510,7 +510,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