mbed library sources modified for open wear
Dependents: openwear-lifelogger-example
Fork of mbed-src by
Diff: targets/hal/TARGET_NORDIC/TARGET_NRF51822/spi_api.c
- Revision:
- 257:9258cc0a200d
- Parent:
- 251:de9a1e4ffd79
--- a/targets/hal/TARGET_NORDIC/TARGET_NRF51822/spi_api.c Tue Jul 15 07:45:08 2014 +0100 +++ b/targets/hal/TARGET_NORDIC/TARGET_NRF51822/spi_api.c Tue Jul 15 21:15:07 2014 +0100 @@ -69,7 +69,7 @@ obj->spi = (NRF_SPI_Type*)NC; obj->spis = (NRF_SPIS_Type*)spi; } - MBED_ASSERT((int)obj->spi != NC && (int)obj->spis != NC); + MBED_ASSERT((int)obj->spi != NC || (int)obj->spis != NC); // pin out the spi pins if (ssel != NC) {//slave