diff --git a/STM32_HAL_Lib/mctext.c b/STM32_HAL_Lib/mctext.c index 7079441..308051f 100644 --- a/STM32_HAL_Lib/mctext.c +++ b/STM32_HAL_Lib/mctext.c @@ -94,7 +94,7 @@ uint8_t mct_CharT(uint8_t x, uint8_t y, unsigned char c, uint8_t color, const ui // Draw a single character. Transparent background. Returns width of drawn character uint8_t mct_Char(uint8_t x, uint8_t y, unsigned char c, uint8_t color, const uint8_t *font) { - mct_CharT(x, y, c, color, font, 1); + return mct_CharT(x, y, c, color, font, 1); } // Draw a string of characters