mirror of https://github.com/ARMmbed/mbed-os.git
[K64F] i2c - magical timeout increase in i2c_stop
parent
f2b4c367e8
commit
a3509013fa
|
@ -79,7 +79,7 @@ int i2c_stop(i2c_t *obj) {
|
||||||
// when there is no waiting time after a STOP.
|
// when there is no waiting time after a STOP.
|
||||||
// This wait is also included on the samples
|
// This wait is also included on the samples
|
||||||
// code provided with the freedom board
|
// code provided with the freedom board
|
||||||
for (n = 0; n < 100; n++) __NOP();
|
for (n = 0; n < 200; n++) __NOP();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue