ILI9320 fix

This commit is contained in:
Joel Bodenmann 2013-04-03 18:02:38 +02:00
parent b386962981
commit 8b21c08096
2 changed files with 16 additions and 0 deletions

View File

@ -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"
}

View File

@ -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;
}