diff options
author | JF002 <JF002@users.noreply.github.com> | 2021-06-12 21:01:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-12 21:01:55 +0200 |
commit | ab1a3900a377054bd67196f0ee5c748ea93d3e46 (patch) | |
tree | 907608958d0be8a97a3d646c842fde3095cef939 /src/drivers/TwiMaster.h | |
parent | f2d01166c380b72ebcb13ef649def88ff4cf2d21 (diff) | |
parent | e90e8c7426f9a44e696b208a5b393a60476a3d43 (diff) |
Merge branch 'develop' into pinetimestyle
Diffstat (limited to 'src/drivers/TwiMaster.h')
-rw-r--r-- | src/drivers/TwiMaster.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/TwiMaster.h b/src/drivers/TwiMaster.h index 1c0648a2..6175b99b 100644 --- a/src/drivers/TwiMaster.h +++ b/src/drivers/TwiMaster.h @@ -31,7 +31,7 @@ namespace Pinetime { ErrorCodes Write(uint8_t deviceAddress, const uint8_t* data, size_t size, bool stop); void FixHwFreezed(); NRF_TWIM_Type* twiBaseAddress; - SemaphoreHandle_t mutex; + SemaphoreHandle_t mutex = nullptr; const Modules module; const Parameters params; static constexpr uint8_t maxDataSize {16}; |