aboutsummaryrefslogtreecommitdiffstats
path: root/boards/base/HY-MiniSTM32V/gmouse_lld_ADS7843_board.h
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2018-06-23 13:02:07 +1000
committerinmarket <andrewh@inmarket.com.au>2018-06-23 13:02:07 +1000
commit41271d632b74f5cf47c30d3b699eb6b2786f2136 (patch)
tree78bcb729c6d6177ca598f28908fefd186c50e9b6 /boards/base/HY-MiniSTM32V/gmouse_lld_ADS7843_board.h
parent3b97fb798e96514057bcf17263c1e5dbdcd7da26 (diff)
downloaduGFX-41271d632b74f5cf47c30d3b699eb6b2786f2136.tar.gz
uGFX-41271d632b74f5cf47c30d3b699eb6b2786f2136.tar.bz2
uGFX-41271d632b74f5cf47c30d3b699eb6b2786f2136.zip
Added new type definitions - moving towards V3.0
Diffstat (limited to 'boards/base/HY-MiniSTM32V/gmouse_lld_ADS7843_board.h')
-rw-r--r--boards/base/HY-MiniSTM32V/gmouse_lld_ADS7843_board.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/boards/base/HY-MiniSTM32V/gmouse_lld_ADS7843_board.h b/boards/base/HY-MiniSTM32V/gmouse_lld_ADS7843_board.h
index 9ef33f3f..5283201c 100644
--- a/boards/base/HY-MiniSTM32V/gmouse_lld_ADS7843_board.h
+++ b/boards/base/HY-MiniSTM32V/gmouse_lld_ADS7843_board.h
@@ -46,7 +46,7 @@ static const SPIConfig spicfg = {
* TP_IRQ PB6
*/
-static bool_t init_board(GMouse* m, unsigned driverinstance) {
+static gBool init_board(GMouse* m, unsigned driverinstance) {
(void) m;
(void) driverinstance;
@@ -63,7 +63,7 @@ static bool_t init_board(GMouse* m, unsigned driverinstance) {
/*
* PB6 is connected to TP_IRQ (low active).
*/
-static GFXINLINE bool_t getpin_pressed(GMouse* m) {
+static GFXINLINE gBool getpin_pressed(GMouse* m) {
(void)m;
return (!palReadPad(GPIOB, 6));
}