t

Fork of mbed-dev by mbed official

Revision:
170:e3b6fe271b81
Parent:
169:9672193075cf
Child:
171:19eb464bc2be
--- 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