added toto regarding crc

This commit is contained in:
Empire 2021-02-16 21:45:13 +01:00
parent ae18a25c69
commit 17b0bb435c

View File

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