diff options
author | Joaquim José Almeida Pereira <joaquim.org@gmail.com> | 2021-04-05 11:01:44 +0100 |
---|---|---|
committer | Joaquim José Almeida Pereira <joaquim.org@gmail.com> | 2021-04-05 11:01:44 +0100 |
commit | 96961709f3a659fd89ccbb8a13813ed9f3c586eb (patch) | |
tree | 5ad5fc830577d2616ca0e34176c95811fb56e571 /src/drivers | |
parent | 7e2db806c3cd0558a2539ecbb420244b6ee25c83 (diff) |
array in SettingWakeUp wrong size
Diffstat (limited to 'src/drivers')
-rw-r--r-- | src/drivers/TwiMaster.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/TwiMaster.cpp b/src/drivers/TwiMaster.cpp index d5898b5e..072dd5fc 100644 --- a/src/drivers/TwiMaster.cpp +++ b/src/drivers/TwiMaster.cpp @@ -63,8 +63,8 @@ void TwiMaster::Init() { TwiMaster::ErrorCodes TwiMaster::Read(uint8_t deviceAddress, uint8_t registerAddress, uint8_t *data, size_t size) { // this is causing an error when came from sleep + // //xSemaphoreTake(mutex, portMAX_DELAY); - auto ret = ReadWithRetry(deviceAddress, registerAddress, data, size); //xSemaphoreGive(mutex); |