aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ginput/touch/FT5x06/gmouse_lld_FT5x06.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ginput/touch/FT5x06/gmouse_lld_FT5x06.c')
-rw-r--r--drivers/ginput/touch/FT5x06/gmouse_lld_FT5x06.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/ginput/touch/FT5x06/gmouse_lld_FT5x06.c b/drivers/ginput/touch/FT5x06/gmouse_lld_FT5x06.c
index dbd5981c..50fa36a0 100644
--- a/drivers/ginput/touch/FT5x06/gmouse_lld_FT5x06.c
+++ b/drivers/ginput/touch/FT5x06/gmouse_lld_FT5x06.c
@@ -18,9 +18,9 @@
// Hardware definitions
#include "ft5x06.h"
-static bool_t MouseInit(GMouse* m, unsigned driverinstance) {
+static gBool MouseInit(GMouse* m, unsigned driverinstance) {
if (!init_board(m, driverinstance))
- return FALSE;
+ return gFalse;
aquire_bus(m);
@@ -53,10 +53,10 @@ static bool_t MouseInit(GMouse* m, unsigned driverinstance) {
write_reg(m, FT5x06_ID_G_PERIODMONITOR, 0x28);
release_bus(m);
- return TRUE;
+ return gTrue;
}
-static bool_t read_xyz(GMouse* m, GMouseReading* pdr)
+static gBool read_xyz(GMouse* m, GMouseReading* pdr)
{
// Assume not touched.
pdr->buttons = 0;
@@ -96,7 +96,7 @@ static bool_t read_xyz(GMouse* m, GMouseReading* pdr)
}
release_bus(m);
- return TRUE;
+ return gTrue;
}
const GMouseVMT const GMOUSE_DRIVER_VMT[1] = {{