diff options
author | JF <jf@codingfield.com> | 2020-05-24 16:51:50 +0200 |
---|---|---|
committer | JF <jf@codingfield.com> | 2020-05-24 16:51:50 +0200 |
commit | 073717980f5c00f553ac3b58a50b792b32a14c7a (patch) | |
tree | 8eeafef1f4150a1cf238ee80e53c8901b0ec67af /src/drivers/SpiMaster.h | |
parent | 331481cd0c6ba804860f7cdbd5110a87ff0160fe (diff) | |
parent | be1ad9b07083e656a649d223750ff4b14b781b7b (diff) |
Merge develop
Diffstat (limited to 'src/drivers/SpiMaster.h')
-rw-r--r-- | src/drivers/SpiMaster.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/SpiMaster.h b/src/drivers/SpiMaster.h index 7b35dfc8..88b37a35 100644 --- a/src/drivers/SpiMaster.h +++ b/src/drivers/SpiMaster.h @@ -8,6 +8,8 @@ #include <semphr.h> #include "BufferProvider.h" +#include <semphr.h> + namespace Pinetime { namespace Drivers { class SpiMaster { @@ -55,11 +57,9 @@ namespace Pinetime { SpiMaster::SpiModule spi; SpiMaster::Parameters params; -// volatile bool busy = false; volatile uint32_t currentBufferAddr = 0; volatile size_t currentBufferSize = 0; volatile TaskHandle_t taskToNotify; - SemaphoreHandle_t mutex; }; } |