From 8ac78b9953908d2a4ffece855296fb7597440cce Mon Sep 17 00:00:00 2001 From: Thomas Albers Raviola Date: Wed, 12 Feb 2025 01:26:51 +0100 Subject: Use custom types --- src/tft.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tft.c') diff --git a/src/tft.c b/src/tft.c index 8eca5c5..3889ee7 100644 --- a/src/tft.c +++ b/src/tft.c @@ -80,7 +80,7 @@ tft_set_page_addr(u16 start, u16 end) } void -tft_set_area(unsigned int x, unsigned int y, unsigned int w, unsigned int h) +tft_set_area(u16 x, u16 y, u16 w, u16 h) { tft_set_col_addr(x, x + w - 1); tft_set_page_addr(y, y + h - 1); -- cgit v1.2.3