diff options
author | inmarket <andrewh@inmarket.com.au> | 2018-11-03 10:51:23 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2018-11-03 10:51:23 +1000 |
commit | 7c5a6c928fa7129cf754c9c73c5c7ae39372ba9d (patch) | |
tree | 95cf152ef65ff19c7b2515b427bbe86b92b611d0 /drivers/ginput/touch/STMPE610 | |
parent | 8bd70d953bcd3e32ceb4e45a4e561c973726280a (diff) | |
download | uGFX-7c5a6c928fa7129cf754c9c73c5c7ae39372ba9d.tar.gz uGFX-7c5a6c928fa7129cf754c9c73c5c7ae39372ba9d.tar.bz2 uGFX-7c5a6c928fa7129cf754c9c73c5c7ae39372ba9d.zip |
For all source files update integer types to the new gI8 etc type names
Diffstat (limited to 'drivers/ginput/touch/STMPE610')
-rw-r--r-- | drivers/ginput/touch/STMPE610/gmouse_lld_STMPE610.c | 2 | ||||
-rw-r--r-- | drivers/ginput/touch/STMPE610/gmouse_lld_STMPE610_board_template.h | 6 |
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 */ |