diff --git a/openrtx/src/graphics/graphics_rgb565.c b/openrtx/src/graphics/graphics_rgb565.c index 55e063b4..bffb1a45 100644 --- a/openrtx/src/graphics/graphics_rgb565.c +++ b/openrtx/src/graphics/graphics_rgb565.c @@ -22,6 +22,7 @@ * It is suitable for color displays, it will have grayscale and B/W counterparts */ +#include #include #include #include @@ -200,6 +201,11 @@ static inline uint16_t get_reset_x(textAlign_t alignment, uint16_t line_size) { void gfx_print(point_t start, const char *text, fontSize_t size, textAlign_t alignment, color_t color) { + OS_ERR os_err; + + // TODO: Without this delay dots are not printed + OSTimeDlyHMSM(0u, 0u, 0u, 1u, OS_OPT_TIME_HMSM_STRICT, &os_err); + rgb565_t color_565 = _true2highColor(color); GFXfont f = fonts[size];