mbed library sources modified for open wear
Dependents: openwear-lifelogger-example
Fork of mbed-src by
Diff: targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/spi_api.c
- Revision:
- 267:8673334f2cbe
- Parent:
- 265:9632ea190e16
- Child:
- 275:8287c40fc7ee
--- a/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/spi_api.c Thu Jul 24 12:00:06 2014 +0100 +++ b/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/spi_api.c Tue Jul 29 18:45:06 2014 +0100 @@ -17,6 +17,9 @@ #include "mbed_assert.h" #include "spi_api.h" + +#if DEVICE_SPI + #include "cmsis.h" #include "pinmap.h" #include "error.h" @@ -137,3 +140,5 @@ while (!spi_writeable(obj)); dspi_hal_write_data_slave_mode(obj->instance, (uint32_t)value); } + +#endif