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 /boards/addons/ginput/touch/ADS7843/stm32f4cube_hal.h | |
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 'boards/addons/ginput/touch/ADS7843/stm32f4cube_hal.h')
-rw-r--r-- | boards/addons/ginput/touch/ADS7843/stm32f4cube_hal.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/boards/addons/ginput/touch/ADS7843/stm32f4cube_hal.h b/boards/addons/ginput/touch/ADS7843/stm32f4cube_hal.h index e34dee84..c855c7d8 100644 --- a/boards/addons/ginput/touch/ADS7843/stm32f4cube_hal.h +++ b/boards/addons/ginput/touch/ADS7843/stm32f4cube_hal.h @@ -123,11 +123,11 @@ static GFXINLINE void release_bus(GMouse* m) HAL_GPIO_WritePin(GPIOA, GPIO_PIN_4, GPIO_PIN_SET); } -static GFXINLINE uint16_t read_value(GMouse* m, uint16_t reg) +static GFXINLINE gU16 read_value(GMouse* m, gU16 reg) { - uint8_t txbuf[3] = {0, 0, 0}; - uint8_t rxbuf[3] = {0, 0, 0}; - uint16_t ret; + gU8 txbuf[3] = {0, 0, 0}; + gU8 rxbuf[3] = {0, 0, 0}; + gU16 ret; (void)m; |