mbed library sources. Supersedes mbed-src. removed serial

Fork of mbed-dev by mbed official

Revision:
156:95d6b41a828b
Parent:
153:fa9ff456f731
diff -r 88546b34ff1c -r 95d6b41a828b targets/TARGET_STM/stm_spi_api.c
--- a/targets/TARGET_STM/stm_spi_api.c	Thu Jan 05 10:51:54 2017 +0000
+++ b/targets/TARGET_STM/stm_spi_api.c	Mon Jan 16 15:03:32 2017 +0000
@@ -344,7 +344,8 @@
 
 int spi_master_write(spi_t *obj, int value)
 {
-    uint16_t size, Rx, ret;
+    uint16_t size, ret;
+    int Rx = 0;
     struct spi_s *spiobj = SPI_S(obj);
     SPI_HandleTypeDef *handle = &(spiobj->handle);