Merge pull request #62 from niamster/master
A fix in pic32mx LLD for ILI9320
This commit is contained in:
commit
05aebebb8b
@ -77,11 +77,16 @@ static noinline void gdisp_lld_reset_pin(bool_t state) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static noinline void gdisp_lld_write_index(uint16_t data) {
|
static noinline void gdisp_lld_write_index(uint16_t data) {
|
||||||
|
volatile uint16_t dummy;
|
||||||
|
|
||||||
PmpWaitBusy();
|
PmpWaitBusy();
|
||||||
palClearPad(IOPORTA, 10);
|
palClearPad(IOPORTA, 10);
|
||||||
PMDIN = data;
|
PMDIN = data;
|
||||||
PmpWaitBusy();
|
PmpWaitBusy();
|
||||||
palSetPad(IOPORTA, 10);
|
palSetPad(IOPORTA, 10);
|
||||||
|
|
||||||
|
dummy = PMDIN;
|
||||||
|
(void)dummy;
|
||||||
}
|
}
|
||||||
|
|
||||||
static noinline void gdisp_lld_write_data(uint16_t data) {
|
static noinline void gdisp_lld_write_data(uint16_t data) {
|
||||||
|
Loading…
Reference in New Issue
Block a user