diff options
Diffstat (limited to 'drivers/ginput')
-rw-r--r-- | drivers/ginput/touch/ADS7843/gmouse_lld_ADS7843.c | 3 | ||||
-rw-r--r-- | drivers/ginput/touch/FT5x06/gmouse_lld_FT5x06.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/drivers/ginput/touch/ADS7843/gmouse_lld_ADS7843.c b/drivers/ginput/touch/ADS7843/gmouse_lld_ADS7843.c index ac315262..5f1eb226 100644 --- a/drivers/ginput/touch/ADS7843/gmouse_lld_ADS7843.c +++ b/drivers/ginput/touch/ADS7843/gmouse_lld_ADS7843.c @@ -19,7 +19,7 @@ #define CMD_Y 0x91
#define CMD_ENABLE_IRQ 0x80
-static void MouseXYZ(GMouse* m, GMouseReading* pdr)
+static bool_t MouseXYZ(GMouse* m, GMouseReading* pdr)
{
(void)m;
@@ -42,6 +42,7 @@ static void MouseXYZ(GMouse* m, GMouseReading* pdr) release_bus(m);
}
+ return TRUE;
}
const GMouseVMT const GMOUSE_DRIVER_VMT[1] = {{
diff --git a/drivers/ginput/touch/FT5x06/gmouse_lld_FT5x06.c b/drivers/ginput/touch/FT5x06/gmouse_lld_FT5x06.c index ed2e68fa..6b0bcdb2 100644 --- a/drivers/ginput/touch/FT5x06/gmouse_lld_FT5x06.c +++ b/drivers/ginput/touch/FT5x06/gmouse_lld_FT5x06.c @@ -56,7 +56,7 @@ static bool_t MouseInit(GMouse* m, unsigned driverinstance) { return TRUE; } -static void MouseXYZ(GMouse* m, GMouseReading* pdr) +static bool_t MouseXYZ(GMouse* m, GMouseReading* pdr) { // Assume not touched. pdr->buttons = 0; @@ -80,6 +80,7 @@ static void MouseXYZ(GMouse* m, GMouseReading* pdr) } release_bus(m); + return TRUE; } const GMouseVMT const GMOUSE_DRIVER_VMT[1] = {{ |