mbed library sources
Fork of mbed-src by
Revision 271:ccdf646660f2, committed 2014-08-04
- Comitter:
- mbed_official
- Date:
- Mon Aug 04 08:15:07 2014 +0100
- Parent:
- 270:e2babe29baf8
- Child:
- 272:949bd8bf133b
- Commit message:
- Synchronized with git revision 116e3ca032ea28d4df6f75611041effd6525f48f
Full URL: https://github.com/mbedmicro/mbed/commit/116e3ca032ea28d4df6f75611041effd6525f48f/
[STM32F4XX] Fix TARGET STM32F4XX spi_api.c syntax error
Changed in this revision
targets/hal/TARGET_STM/TARGET_STM32F4XX/spi_api.c | Show annotated file Show diff for this revision Revisions of this file |
--- a/targets/hal/TARGET_STM/TARGET_STM32F4XX/spi_api.c Fri Aug 01 14:45:06 2014 +0100 +++ b/targets/hal/TARGET_STM/TARGET_STM32F4XX/spi_api.c Mon Aug 04 08:15:07 2014 +0100 @@ -75,7 +75,7 @@ SPIName spi_data = (SPIName)pinmap_merge(spi_mosi, spi_miso); SPIName spi_cntl = (SPIName)pinmap_merge(spi_sclk, spi_ssel); obj->spi = (SPI_TypeDef*)pinmap_merge(spi_data, spi_cntl); - MBED_ASSERT((int)obj->spi != NC) + MBED_ASSERT((int)obj->spi != NC); // enable power and clocking switch ((int)obj->spi) {