Replace ChibiOS specific delays with generic uGFX delays in ILI9341 driver

ugfx_release_2.6
inmarket 2014-10-07 21:51:15 +10:00
parent 71a77d64a1
commit 3af0498a4c
1 changed files with 3 additions and 3 deletions

View File

@ -89,7 +89,7 @@ LLDSPEC bool_t gdisp_lld_init(GDisplay *g) {
acquire_bus(g);
write_index(g, 0x01); //software reset
chThdSleepMilliseconds(5);
gfxSleepMilliseconds(5);
write_index(g, 0x28);
// display off
//---------------------------------------------------------
@ -210,9 +210,9 @@ LLDSPEC bool_t gdisp_lld_init(GDisplay *g) {
write_data(g, 0x27);
write_data(g, 0x00);
write_index(g, 0x11); //sleep out
chThdSleepMilliseconds(100);
gfxSleepMilliseconds(100);
write_index(g, 0x29); // display on
chThdSleepMilliseconds(100);
gfxSleepMilliseconds(100);
// Finish Init
post_init_board(g);