diff --git a/project/Core/Src/tcp_cmd.c b/project/Core/Src/tcp_cmd.c index 04946c5..37395d5 100644 --- a/project/Core/Src/tcp_cmd.c +++ b/project/Core/Src/tcp_cmd.c @@ -203,7 +203,7 @@ static bool tcp_cmd_parser(struct tcp_pcb* pcb, int argc, char** argv) { } if (argc == 4) { LOG_INFO(TAG, "Setting text %s @ %lu, %lu", argv[1], (uint32_t)strtoul(argv[2], NULL, 10), (uint32_t)strtoul(argv[3], NULL, 10)); - lcd_display_text((const char*)argv[1], (uint32_t)strtoul(argv[2], NULL, 10), (uint32_t)strtoul(argv[3], NULL, 10), color_txt, color_bg, LCD_FONT24); + lcd_display_text((const char*)argv[1], (uint16_t)strtoul(argv[2], NULL, 10), (uint16_t)strtoul(argv[3], NULL, 10), color_txt, color_bg, LCD_FONT24); return false; } LOG_WARN(TAG, "Bad usage of text");