diff options
Diffstat (limited to 'boards/base/HY-MiniSTM32V/gmouse_lld_ADS7843_board.h')
-rw-r--r-- | boards/base/HY-MiniSTM32V/gmouse_lld_ADS7843_board.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/boards/base/HY-MiniSTM32V/gmouse_lld_ADS7843_board.h b/boards/base/HY-MiniSTM32V/gmouse_lld_ADS7843_board.h index 8e3a81c2..ca824f6c 100644 --- a/boards/base/HY-MiniSTM32V/gmouse_lld_ADS7843_board.h +++ b/boards/base/HY-MiniSTM32V/gmouse_lld_ADS7843_board.h @@ -83,11 +83,11 @@ static GFXINLINE void release_bus(GMouse* m) { spiReleaseBus(&SPID1); } -static GFXINLINE uint16_t read_value(GMouse* m, uint16_t port) { +static GFXINLINE gU16 read_value(GMouse* m, gU16 port) { (void)m; - static uint8_t txbuf[3] = {0}; - static uint8_t rxbuf[3] = {0}; - uint16_t ret; + static gU8 txbuf[3] = {0}; + static gU8 rxbuf[3] = {0}; + gU16 ret; txbuf[0] = port; spiExchange(&SPID1, 3, txbuf, rxbuf); |