From 2f288d20cd4a5c4a9bbc76d948b96e7ca224fe9d Mon Sep 17 00:00:00 2001 From: DiSlord Date: Mon, 30 Mar 2020 23:35:45 +0300 Subject: [PATCH] More screen size depends definition fixes --- ui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui.c b/ui.c index 3b30f8a..9c9668a 100644 --- a/ui.c +++ b/ui.c @@ -335,7 +335,7 @@ touch_draw_test(void) ili9341_set_foreground(DEFAULT_FG_COLOR); ili9341_set_background(DEFAULT_BG_COLOR); ili9341_clear_screen(); - ili9341_drawstring("TOUCH TEST: DRAG PANEL", OFFSETX, 233); + ili9341_drawstring("TOUCH TEST: DRAG PANEL", OFFSETX, LCD_HEIGHT - FONT_GET_HEIGHT); touch_wait_pressed(); touch_position(&x0, &y0);