mirror of https://github.com/ARMmbed/mbed-os.git
[EFM32] Remove erroneous sleep() call from blocking spi_master_write.
parent
b9f8f2bc91
commit
4e217bacf9
|
@ -359,7 +359,6 @@ int spi_master_write(spi_t *obj, int value)
|
|||
|
||||
/* Wait for transmission of last byte */
|
||||
while (!(obj->spi.spi->STATUS & USART_STATUS_TXC)) {
|
||||
sleep(); // TODO_LP this might break other code, write should be separate from read?
|
||||
}
|
||||
|
||||
return spi_read(obj);
|
||||
|
|
Loading…
Reference in New Issue