Browse Source

🐛 Fix FTDI::get_utf8_char_and_inc compile (#24048)

Ludy 2 years ago
parent
commit
fc87834cc0
No account linked to committer's email address

+ 1
- 1
Marlin/src/lcd/extui/ftdi_eve_touch_ui/ftdi_eve_lib/extended/unicode/unicode.cpp View File

@@ -74,7 +74,7 @@
74 74
     return val;
75 75
   }
76 76
 
77
-  utf8_char_t FTDI::get_utf8_char_and_inc(char *&c) {
77
+  utf8_char_t FTDI::get_utf8_char_and_inc(const char *&c) {
78 78
     utf8_char_t val = *(uint8_t*)c++;
79 79
     if ((val & 0xC0) == 0xC0)
80 80
       while ((*c & 0xC0) == 0x80)

Loading…
Cancel
Save