spi mutex only blocked when gpio != NO_GPIO

This commit is contained in:
2021-05-12 10:22:23 +02:00
parent a85c01465b
commit 8a38c7958b
3 changed files with 18 additions and 9 deletions

View File

@ -39,6 +39,11 @@ public:
size_t requestLen) override;
ReturnValue_t readReceivedMessage(CookieIF *cookie, uint8_t **buffer,
size_t *size) override;
/**
* @brief This function returns the mutex which can be used to protect the spi bus when
* the chip select must be driven from outside of the com if.
*/
MutexIF* getMutex();
private:
struct SpiInstance {