diff options
author | inmarket <andrewh@inmarket.com.au> | 2018-06-23 13:02:07 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2018-06-23 13:02:07 +1000 |
commit | 41271d632b74f5cf47c30d3b699eb6b2786f2136 (patch) | |
tree | 78bcb729c6d6177ca598f28908fefd186c50e9b6 /boards/base/STM32F429i-Discovery/chibios | |
parent | 3b97fb798e96514057bcf17263c1e5dbdcd7da26 (diff) | |
download | uGFX-41271d632b74f5cf47c30d3b699eb6b2786f2136.tar.gz uGFX-41271d632b74f5cf47c30d3b699eb6b2786f2136.tar.bz2 uGFX-41271d632b74f5cf47c30d3b699eb6b2786f2136.zip |
Added new type definitions - moving towards V3.0
Diffstat (limited to 'boards/base/STM32F429i-Discovery/chibios')
-rw-r--r-- | boards/base/STM32F429i-Discovery/chibios/gmouse_lld_STMPE811_board.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/boards/base/STM32F429i-Discovery/chibios/gmouse_lld_STMPE811_board.h b/boards/base/STM32F429i-Discovery/chibios/gmouse_lld_STMPE811_board.h index 02abc43d..eb8487a1 100644 --- a/boards/base/STM32F429i-Discovery/chibios/gmouse_lld_STMPE811_board.h +++ b/boards/base/STM32F429i-Discovery/chibios/gmouse_lld_STMPE811_board.h @@ -42,12 +42,12 @@ static const I2CConfig i2ccfg = { FAST_DUTY_CYCLE_2,
};
-static bool_t init_board(GMouse* m, unsigned driverinstance) {
+static gBool init_board(GMouse* m, unsigned driverinstance) {
(void) m;
// This board only supports one touch panel
if (driverinstance)
- return FALSE;
+ return gFalse;
// Set pin modes
#if CH_KERNEL_MAJOR == 2
@@ -63,11 +63,11 @@ static bool_t init_board(GMouse* m, unsigned driverinstance) { // Start the I2C
i2cStart(&I2CD3, &i2ccfg);
- return TRUE;
+ return gTrue;
}
#if GMOUSE_STMPE811_GPIO_IRQPIN
- static bool_t getpin_irq(GMouse* m) {
+ static gBool getpin_irq(GMouse* m) {
(void) m;
return !palReadPad(GPIOA, 15);
|