aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ginput/touch/FT5x06
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ginput/touch/FT5x06')
-rw-r--r--drivers/ginput/touch/FT5x06/gmouse_lld_FT5x06.c10
-rw-r--r--drivers/ginput/touch/FT5x06/gmouse_lld_FT5x06_board_template.h2
2 files changed, 6 insertions, 6 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] = {{
diff --git a/drivers/ginput/touch/FT5x06/gmouse_lld_FT5x06_board_template.h b/drivers/ginput/touch/FT5x06/gmouse_lld_FT5x06_board_template.h
index 728fa695..ded7cfb9 100644
--- a/drivers/ginput/touch/FT5x06/gmouse_lld_FT5x06_board_template.h
+++ b/drivers/ginput/touch/FT5x06/gmouse_lld_FT5x06_board_template.h
@@ -25,7 +25,7 @@
// It requires the active area of the touch panel to exactly match the display size.
#define GMOUSE_FT5x06_SELF_CALIBRATE GFXOFF
-static bool_t init_board(GMouse* m, unsigned driverinstance) {
+static gBool init_board(GMouse* m, unsigned driverinstance) {
}
static GFXINLINE void aquire_bus(GMouse* m) {