diff options
author | Joel Bodenmann <joel@unormal.org> | 2013-04-03 18:02:38 +0200 |
---|---|---|
committer | Joel Bodenmann <joel@unormal.org> | 2013-04-03 18:02:38 +0200 |
commit | 8b21c08096bf2333e613cb25a90eb59dd075fbf4 (patch) | |
tree | 0fbbe946a113add1ba5772298ef60dcc452450c0 | |
parent | b386962981d7667cd0d14cc50969eb82d0d71dcc (diff) | |
download | uGFX-8b21c08096bf2333e613cb25a90eb59dd075fbf4.tar.gz uGFX-8b21c08096bf2333e613cb25a90eb59dd075fbf4.tar.bz2 uGFX-8b21c08096bf2333e613cb25a90eb59dd075fbf4.zip |
ILI9320 fix
-rw-r--r-- | drivers/gdisp/ILI9320/gdisp_lld_board_example.h | 8 | ||||
-rw-r--r-- | drivers/gdisp/ILI9320/gdisp_lld_board_olimex_stm32_lcd.h | 8 |
2 files changed, 16 insertions, 0 deletions
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; } |