first changes to prepare code for esp32

This commit is contained in:
Marcel Alburg 2022-08-15 22:42:08 +02:00
parent 6ac3876092
commit 1200ca0b79
6 changed files with 26 additions and 11 deletions

View file

@ -164,7 +164,7 @@ class app {
while(length > 0) {
len = (length < 32) ? length : 32;
mEep->read(start, buf, len);
crc = crc16(buf, len, crc);
crc = Hoymiles::crc16(buf, len, crc);
start += len;
length -= len;
}