FreeCalypso > hg > fc-magnetite
diff src/cs/drivers/drv_app/r2d/lcds/luna/r2d_task_init_i.c @ 653:094152d97ce7
Luna bring-up: workaround for slow LCD init sequence
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 07 May 2020 20:08:01 +0000 |
parents | 7d6878435c85 |
children |
line wrap: on
line diff
--- a/src/cs/drivers/drv_app/r2d/lcds/luna/r2d_task_init_i.c Thu May 07 08:06:31 2020 +0000 +++ b/src/cs/drivers/drv_app/r2d/lcds/luna/r2d_task_init_i.c Thu May 07 20:08:01 2020 +0000 @@ -4,12 +4,17 @@ static void r2d_refresh_task_init(void) { - UINT32 i; - /* reset pulse */ CNTL_RST_REG |= EXT_RESET; rvf_delay(RVF_MS_TO_TICKS(10)); CNTL_RST_REG &= ~EXT_RESET; + /* finish the job in the running R2D refresh task */ +} + +void r2d_refresh_task_secondary_init(void) +{ + UINT32 i; + rvf_delay(RVF_MS_TO_TICKS(50)); /* start register init */ LCD_REG_WR(0x0001, 0x011c); // set SS and NL bit