[EFM32] Remove erroneous sleep() call from blocking spi_master_write.

pull/1428/head
Aksel Skauge Mellbye 2015-11-16 13:26:44 +01:00
parent b9f8f2bc91
commit 4e217bacf9
1 changed files with 0 additions and 1 deletions

View File

@ -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);