Fine tune delay to match the I2C peripheral driven at 100kHz.

This commit is contained in:
László Monda
2017-10-03 21:06:04 +02:00
parent 51a9acbb68
commit 7af8042c93

View File

@@ -23,7 +23,7 @@ void InitInterruptPriorities(void)
void delay(void)
{
for (volatile uint32_t i=0; i<10000; i++);
for (volatile uint32_t i=0; i<62; i++);
}
void InitI2cMainBus(void)