Merge pull request #62 from niamster/master

A fix in pic32mx LLD for ILI9320
This commit is contained in:
Tectu 2013-04-07 02:59:22 -07:00
commit 05aebebb8b

View File

@ -77,11 +77,16 @@ static noinline void gdisp_lld_reset_pin(bool_t state) {
}
static noinline void gdisp_lld_write_index(uint16_t data) {
volatile uint16_t dummy;
PmpWaitBusy();
palClearPad(IOPORTA, 10);
PMDIN = data;
PmpWaitBusy();
palSetPad(IOPORTA, 10);
dummy = PMDIN;
(void)dummy;
}
static noinline void gdisp_lld_write_data(uint16_t data) {