mbed w/ spi bug fig
Fork of mbed-src by
Revision 200:a6b296b34609, committed 2014-05-20
- Comitter:
- mbed_official
- Date:
- Tue May 20 16:45:06 2014 +0100
- Parent:
- 199:aeeefa19f7de
- Child:
- 201:fa203361dc70
- Commit message:
- Synchronized with git revision d0e6815ac823e540ee8647b5e7ab34dee3e8bc99
Full URL: https://github.com/mbedmicro/mbed/commit/d0e6815ac823e540ee8647b5e7ab34dee3e8bc99/
[NUCLEO_F302R8] SPI master correction
Changed in this revision
targets/hal/TARGET_STM/TARGET_NUCLEO_F302R8/spi_api.c | Show annotated file Show diff for this revision Revisions of this file |
--- a/targets/hal/TARGET_STM/TARGET_NUCLEO_F302R8/spi_api.c Mon May 19 18:30:07 2014 +0100 +++ b/targets/hal/TARGET_STM/TARGET_NUCLEO_F302R8/spi_api.c Tue May 20 16:45:06 2014 +0100 @@ -171,7 +171,7 @@ if (slave == 0) { obj->mode = SPI_Mode_Master; - obj->nss = SPI_NSS_Hard; + obj->nss = SPI_NSS_Soft; } else { obj->mode = SPI_Mode_Slave; obj->nss = SPI_NSS_Hard;