aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ginput/touch/STMPE811
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ginput/touch/STMPE811')
-rw-r--r--drivers/ginput/touch/STMPE811/gmouse_lld_STMPE811.c2
-rw-r--r--drivers/ginput/touch/STMPE811/gmouse_lld_STMPE811_board_template.h6
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/ginput/touch/STMPE811/gmouse_lld_STMPE811.c b/drivers/ginput/touch/STMPE811/gmouse_lld_STMPE811.c
index ab2c87b4..90ea953f 100644
--- a/drivers/ginput/touch/STMPE811/gmouse_lld_STMPE811.c
+++ b/drivers/ginput/touch/STMPE811/gmouse_lld_STMPE811.c
@@ -103,7 +103,7 @@ static gBool read_xyz(GMouse* m, GMouseReading* pdr)
#if GMOUSE_STMPE811_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/STMPE811/gmouse_lld_STMPE811_board_template.h b/drivers/ginput/touch/STMPE811/gmouse_lld_STMPE811_board_template.h
index bcc9ab57..9d38b797 100644
--- a/drivers/ginput/touch/STMPE811/gmouse_lld_STMPE811_board_template.h
+++ b/drivers/ginput/touch/STMPE811/gmouse_lld_STMPE811_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 */