[X9D] No more GREY on inactives mixes / expos. CoOS delay instead of loop in SD Init.

This commit is contained in:
bsongis
2013-01-09 17:38:02 +00:00
parent d271f3422e
commit 73e807062a
3 changed files with 20 additions and 45 deletions
+4 -2
View File
@@ -360,7 +360,8 @@ void power_on (void)
socket_cp_init();//Empty return
socket_wp_init();//Empty return.
for (Timer1 = 25; Timer1; ); /* Wait for 250ms */
CoTickDelay(125);
// for (Timer1 = 25; Timer1; ); /* Wait for 250ms */
/* SPI configuration */
SPI_InitStructure.SPI_Direction = SPI_Direction_2Lines_FullDuplex;
@@ -906,12 +907,13 @@ uint32_t sdMounted()
void sdMountPoll()
{
/* TODO a define
static uint8_t mountTimer;
if (mountTimer-- == 0) {
mountTimer = 100;
if (!sdMounted()) {
sdInit();
}
}
}*/
}