Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-src by
Revision 250:3424e7e3604b, committed 2014-07-17
- Comitter:
- sigveseb
- Date:
- Thu Jul 17 14:16:03 2014 +0000
- Parent:
- 249:5706c6e2db45
- Commit message:
- -
Changed in this revision
targets/hal/TARGET_NORDIC/TARGET_NRF51822/spi_api.c | Show annotated file Show diff for this revision Revisions of this file |
--- a/targets/hal/TARGET_NORDIC/TARGET_NRF51822/spi_api.c Wed Jul 02 13:45:08 2014 +0100 +++ b/targets/hal/TARGET_NORDIC/TARGET_NRF51822/spi_api.c Thu Jul 17 14:16:03 2014 +0000 @@ -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