Skip to content

Commit

Permalink
🐛 Fix FTDI::get_utf8_char_and_inc compile (MarlinFirmware#24048)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ludy87 authored and LCh-77 committed Apr 19, 2022
1 parent 5d77b3b commit 5d1d5d8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
return val;
}

utf8_char_t FTDI::get_utf8_char_and_inc(char *&c) {
utf8_char_t FTDI::get_utf8_char_and_inc(const char *&c) {
utf8_char_t val = *(uint8_t*)c++;
if ((val & 0xC0) == 0xC0)
while ((*c & 0xC0) == 0x80)
Expand Down

0 comments on commit 5d1d5d8

Please sign in to comment.