diff --git a/drivers/gdisp/ILI9320/gdisp_lld_board_example.h b/drivers/gdisp/ILI9320/gdisp_lld_board_example.h index 3571e2b4..2f762c42 100644 --- a/drivers/gdisp/ILI9320/gdisp_lld_board_example.h +++ b/drivers/gdisp/ILI9320/gdisp_lld_board_example.h @@ -37,6 +37,14 @@ static inline void gdisp_lld_reset_pin(bool_t state) { #error "ILI9320: You must implement setpin_reset routine for your board" } +static inline void acquire_bus(void) { + #error "ILI9320: You must implement setpin_reset routine for your board" +} + +static inline void release_bus(void) { + #error "ILI9320: You must implement setpin_reset routine for your board" +} + static inline void gdisp_lld_write_index(uint16_t data) { #error "ILI9320: You must implement write_index routine for your board" } diff --git a/drivers/gdisp/ILI9320/gdisp_lld_board_olimex_stm32_lcd.h b/drivers/gdisp/ILI9320/gdisp_lld_board_olimex_stm32_lcd.h index c8a518c3..7e15a2e0 100644 --- a/drivers/gdisp/ILI9320/gdisp_lld_board_olimex_stm32_lcd.h +++ b/drivers/gdisp/ILI9320/gdisp_lld_board_olimex_stm32_lcd.h @@ -61,6 +61,14 @@ static inline void gdisp_lld_reset_pin(bool_t state) { palSetPad(GPIOE, GPIOE_TFT_RST); } +static inline void acquire_bus(void) { + /* Nothing to do here since LCD is the only device on that bus */ +} + +static inline void release_bus(void) { + /* Nothing to do here since LCD is the only device on that bus */ +} + static inline void gdisp_lld_write_index(uint16_t reg) { GDISP_REG = reg; }