summaryrefslogtreecommitdiffstatshomepage
path: root/stm/lcd.c
diff options
context:
space:
mode:
Diffstat (limited to 'stm/lcd.c')
-rw-r--r--stm/lcd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stm/lcd.c b/stm/lcd.c
index 01ef1c154b..48d5a81bb0 100644
--- a/stm/lcd.c
+++ b/stm/lcd.c
@@ -202,8 +202,8 @@ mp_obj_t lcd_pix_show(void) {
mp_obj_t lcd_print(mp_obj_t text) {
uint len;
- const byte *data = mp_obj_str_get_data(text, &len);
- lcd_print_strn((const char*)data, len);
+ const char *data = mp_obj_str_get_data(text, &len);
+ lcd_print_strn(data, len);
return mp_const_none;
}