array in SettingWakeUp wrong size

This commit is contained in:
Joaquim José Almeida Pereira
2021-04-05 11:01:44 +01:00
parent 7e2db806c3
commit 96961709f3
3 changed files with 3 additions and 3 deletions

View File

@@ -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);