diff options
| author | hassless <85612141+hassless@users.noreply.github.com> | 2021-06-18 17:17:26 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-18 17:17:26 +0200 |
| commit | 84a6c88e98d8b1420edbddd7b67a38737bf5cbb2 (patch) | |
| tree | b10cab7ef1a7645fa897aabb179c2e8849a919d7 /src/drivers/TwiMaster.h | |
| parent | d0df278b0be2aae0493d901569a094dba221ce99 (diff) | |
| parent | e90e8c7426f9a44e696b208a5b393a60476a3d43 (diff) | |
Merge branch 'JF002:develop' into improve-battery-percentage-to-battery-icon-mapping
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}; |
