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