From 17b0bb435c108dbffbce255821087a6fb0e10f65 Mon Sep 17 00:00:00 2001 From: Empire Date: Tue, 16 Feb 2021 21:45:13 +0100 Subject: [PATCH] added toto regarding crc --- esp32test/Esp32DeepSleepTest/src/DS2438.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/esp32test/Esp32DeepSleepTest/src/DS2438.cpp b/esp32test/Esp32DeepSleepTest/src/DS2438.cpp index 56139c2..791b76d 100644 --- a/esp32test/Esp32DeepSleepTest/src/DS2438.cpp +++ b/esp32test/Esp32DeepSleepTest/src/DS2438.cpp @@ -265,6 +265,7 @@ void DS2438::writePage(int page, uint8_t *data) { } boolean DS2438::readPage(int page, uint8_t *data) { + //TODO if all data is 0 0 is a valid crc, but most likly not as intended _ow->reset(); _ow->select(_address); _ow->write(DS2438_RECALL_MEMORY_COMMAND, 0);