diff options
Diffstat (limited to 'boards/addons/ginput/touch/ADS7843/ginput_lld_mouse_board_olimex_stm32_e407.h')
-rw-r--r-- | boards/addons/ginput/touch/ADS7843/ginput_lld_mouse_board_olimex_stm32_e407.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/boards/addons/ginput/touch/ADS7843/ginput_lld_mouse_board_olimex_stm32_e407.h b/boards/addons/ginput/touch/ADS7843/ginput_lld_mouse_board_olimex_stm32_e407.h index 94f393b5..6611d5bc 100644 --- a/boards/addons/ginput/touch/ADS7843/ginput_lld_mouse_board_olimex_stm32_e407.h +++ b/boards/addons/ginput/touch/ADS7843/ginput_lld_mouse_board_olimex_stm32_e407.h @@ -34,17 +34,17 @@ static const SPIConfig spicfg = { // How much extra data to allocate at the end of the GMouse structure for the board's use #define GMOUSE_ADS7843_BOARD_DATA_SIZE 0 -static bool_t init_board(GMouse* m, unsigned driverinstance) { +static gBool init_board(GMouse* m, unsigned driverinstance) { (void) m; if (driverinstance) - return FALSE; + return gFalse; spiStart(&SPID2, &spicfg); - return TRUE; + return gTrue; } -static GFXINLINE bool_t getpin_pressed(GMouse* m) { +static GFXINLINE gBool getpin_pressed(GMouse* m) { (void) m; return (!palReadPad(GPIOG, 0)); |