diff options
Diffstat (limited to 'drivers/ginput/touch/FT6x06/gmouse_lld_FT6x06.c')
-rw-r--r-- | drivers/ginput/touch/FT6x06/gmouse_lld_FT6x06.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ginput/touch/FT6x06/gmouse_lld_FT6x06.c b/drivers/ginput/touch/FT6x06/gmouse_lld_FT6x06.c index 5f3902b3..674a057a 100644 --- a/drivers/ginput/touch/FT6x06/gmouse_lld_FT6x06.c +++ b/drivers/ginput/touch/FT6x06/gmouse_lld_FT6x06.c @@ -68,8 +68,8 @@ static gBool read_xyz(GMouse* m, GMouseReading* pdr) if ((read_byte(m, FT6x06_TOUCH_POINTS) & 0x07)) { /* Get the X, Y, Z values */ - pdr->x = (coord_t)(read_word(m, FT6x06_TOUCH1_XH) & 0x0fff); - pdr->y = (coord_t)read_word(m, FT6x06_TOUCH1_YH); + pdr->x = (gCoord)(read_word(m, FT6x06_TOUCH1_XH) & 0x0fff); + pdr->y = (gCoord)read_word(m, FT6x06_TOUCH1_YH); pdr->z = 1; // Rescale X,Y if we are using self-calibration |