mbed library sources. Supersedes mbed-src.
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