From 4e217bacf976592b897942daf2a155fbc3c4317f Mon Sep 17 00:00:00 2001 From: Aksel Skauge Mellbye Date: Mon, 16 Nov 2015 13:26:44 +0100 Subject: [PATCH] [EFM32] Remove erroneous sleep() call from blocking spi_master_write. --- .../mbed/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/spi_api.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libraries/mbed/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/spi_api.c b/libraries/mbed/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/spi_api.c index 722dd9bdc3..58a214bc13 100644 --- a/libraries/mbed/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/spi_api.c +++ b/libraries/mbed/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/spi_api.c @@ -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);