diff --git a/tests/mocs.c b/tests/mocs.c index 0137e17..057982f 100644 --- a/tests/mocs.c +++ b/tests/mocs.c @@ -23,7 +23,7 @@ int tftp_init(struct tftp_context* context) { return 0; } -void lcd_display_text(uint8_t* text, uint16_t x_pos, uint16_t y_pos, uint32_t color, uint32_t bg_color, sFONT* font) { +void lcd_display_text(const char* text, uint16_t x_pos, uint16_t y_pos, uint32_t color, uint32_t bg_color, sFONT* font) { UNUSED(text); UNUSED(x_pos); UNUSED(y_pos); diff --git a/tests/mocs.h b/tests/mocs.h index 6e0aa5c..c7206d2 100644 --- a/tests/mocs.h +++ b/tests/mocs.h @@ -101,7 +101,7 @@ typedef err_t (*tcp_accept_fn)(void* arg, struct tcp_pcb* newpcb, err_t err); uint32_t logger_get_timestamp(void); -void lcd_display_text(uint8_t* text, uint16_t x_pos, uint16_t y_pos, uint32_t color, uint32_t bg_color, sFONT* font); +void lcd_display_text(const char* text, uint16_t x_pos, uint16_t y_pos, uint32_t color, uint32_t bg_color, sFONT* font); void lcd_draw_img_from_fs(char* filename, uint32_t x_pos, uint32_t y_pos); void lcd_draw_gif_from_fs(char* filename, uint32_t x_pos, uint32_t y_pos); void lcd_draw_bmp_img(uint8_t* bmp_buff, uint32_t x_pos, uint32_t y_pos);