From 2ab2d77fcba42467b62f2be732cb8dc00510fe19 Mon Sep 17 00:00:00 2001 From: inmarket Date: Sun, 8 Jul 2018 10:54:19 +1000 Subject: Change coord_t to gCoord --- drivers/ginput/touch/STMPE610/gmouse_lld_STMPE610.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'drivers/ginput/touch/STMPE610') diff --git a/drivers/ginput/touch/STMPE610/gmouse_lld_STMPE610.c b/drivers/ginput/touch/STMPE610/gmouse_lld_STMPE610.c index eab13de4..3d3acc55 100644 --- a/drivers/ginput/touch/STMPE610/gmouse_lld_STMPE610.c +++ b/drivers/ginput/touch/STMPE610/gmouse_lld_STMPE610.c @@ -171,10 +171,10 @@ static gBool read_xyz(GMouse* m, GMouseReading* pdr) #endif // Time to get some readings - pdr->x = (coord_t)read_word(m, STMPE610_REG_TSC_DATA_X); - pdr->y = (coord_t)read_word(m, STMPE610_REG_TSC_DATA_Y); + pdr->x = (gCoord)read_word(m, STMPE610_REG_TSC_DATA_X); + pdr->y = (gCoord)read_word(m, STMPE610_REG_TSC_DATA_Y); #if GMOUSE_STMPE610_READ_PRESSURE - pdr->z = (coord_t)read_byte(m, STMPE610_REG_TSC_DATA_Z); + pdr->z = (gCoord)read_byte(m, STMPE610_REG_TSC_DATA_Z); #else pdr->z = gmvmt(m)->z_max; #endif -- cgit v1.2.3