Use PGM_P for PSTR pointers (#11977)
This commit is contained in:
@ -177,7 +177,7 @@ uint8_t utf8_strlen(const char *pstart) {
|
||||
return utf8_strlen_cb(pstart, read_byte_ram);
|
||||
}
|
||||
|
||||
uint8_t utf8_strlen_P(const char *pstart) {
|
||||
uint8_t utf8_strlen_P(PGM_P pstart) {
|
||||
return utf8_strlen_cb(pstart, read_byte_rom);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user