diff options
author | Thomas Albers Raviola <thomas@thomaslabs.org> | 2025-02-12 01:26:51 +0100 |
---|---|---|
committer | Thomas Albers Raviola <thomas@thomaslabs.org> | 2025-02-12 01:26:51 +0100 |
commit | 8ac78b9953908d2a4ffece855296fb7597440cce (patch) | |
tree | cb4a19181554e3c162967c64cfb916e6cc71ccb3 /src/tft.c | |
parent | 2f3b2a30a42a20c0ba432e4cde1876521f127e8b (diff) |
Use custom types
Diffstat (limited to 'src/tft.c')
-rw-r--r-- | src/tft.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |