mbed library sources. Supersedes mbed-src.

Fork of mbed-dev by mbed official

Revision:
169:e3b6fe271b81
Parent:
168:9672193075cf
Child:
170:19eb464bc2be
diff -r 9672193075cf -r e3b6fe271b81 drivers/SPI.h
--- a/drivers/SPI.h	Thu Jul 06 15:42:05 2017 +0100
+++ b/drivers/SPI.h	Wed Jul 19 17:31:21 2017 +0100
@@ -271,6 +271,12 @@
     int _bits;
     int _mode;
     int _hz;
+
+private:
+    /* Private acquire function without locking/unlocking
+     * Implemented in order to avoid duplicate locking and boost performance
+     */
+    void _acquire(void);
 };
 
 } // namespace mbed