aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ginput/touch/STMPE610
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ginput/touch/STMPE610')
-rw-r--r--drivers/ginput/touch/STMPE610/gmouse_lld_STMPE610.c2
-rw-r--r--drivers/ginput/touch/STMPE610/gmouse_lld_STMPE610_board_template.h6
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/ginput/touch/STMPE610/gmouse_lld_STMPE610.c b/drivers/ginput/touch/STMPE610/gmouse_lld_STMPE610.c
index 21581077..c44289c6 100644
--- a/drivers/ginput/touch/STMPE610/gmouse_lld_STMPE610.c
+++ b/drivers/ginput/touch/STMPE610/gmouse_lld_STMPE610.c
@@ -103,7 +103,7 @@ static gBool read_xyz(GMouse* m, GMouseReading* pdr)
#if GMOUSE_STMPE610_TEST_MODE
static GMouseReading n;
#endif
- uint8_t status;
+ gU8 status;
// Button information will be regenerated
pdr->buttons = 0;
diff --git a/drivers/ginput/touch/STMPE610/gmouse_lld_STMPE610_board_template.h b/drivers/ginput/touch/STMPE610/gmouse_lld_STMPE610_board_template.h
index d68a0be3..e4d4527c 100644
--- a/drivers/ginput/touch/STMPE610/gmouse_lld_STMPE610_board_template.h
+++ b/drivers/ginput/touch/STMPE610/gmouse_lld_STMPE610_board_template.h
@@ -48,13 +48,13 @@ static GFXINLINE void aquire_bus(GMouse* m) {
static GFXINLINE void release_bus(GMouse* m) {
}
-static void write_reg(GMouse* m, uint8_t reg, uint8_t val) {
+static void write_reg(GMouse* m, gU8 reg, gU8 val) {
}
-static uint8_t read_byte(GMouse* m, uint8_t reg) {
+static gU8 read_byte(GMouse* m, gU8 reg) {
}
-static uint16_t read_word(GMouse* m, uint8_t reg) {
+static gU16 read_word(GMouse* m, gU8 reg) {
}
#endif /* _GINPUT_LLD_MOUSE_BOARD_H */