Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: STM32L452_Nucleo_ticker
Fork of mbed-dev by
Diff: drivers/SPI.h
- Revision:
- 169:e3b6fe271b81
- Parent:
- 168:9672193075cf
- Child:
- 170: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
