Fix in ILI9481 driver code

This commit is contained in:
Joel Bodenmann 2016-03-29 12:17:29 +02:00
parent 4797b7d1e2
commit 25802124fb

View File

@ -248,7 +248,7 @@ LLDSPEC bool_t gdisp_lld_init(GDisplay *g) {
write_reg(g, 0x0010, 0x0000); /* leave sleep mode */ write_reg(g, 0x0010, 0x0000); /* leave sleep mode */
release_bus(g); release_bus(g);
if (g->g.Powermode != powerSleep) if (g->g.Powermode != powerSleep)
gdisp_lld_init(); gdisp_lld_init(g);
break; break;
case powerSleep: case powerSleep:
acquire_bus(g); acquire_bus(g);