ILI9320 fix
This commit is contained in:
parent
b386962981
commit
8b21c08096
@ -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"
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user