diff --git a/ESPBMS.ino b/ESPBMS.ino index c80d935..ff56b8d 100644 --- a/ESPBMS.ino +++ b/ESPBMS.ino @@ -283,6 +283,8 @@ bool processBasicInfo(byte *data, unsigned int dataLen){ Serial.printf("Balance Code High: 0x%x\r\n", BalanceCodeHigh); Serial.printf("Mosfet Status: 0x%x\r\n", MosfetStatus); + gotBasicInfo=true; + return true; } @@ -317,6 +319,8 @@ bool processCellInfo(byte *data, unsigned int dataLen) Serial.printf("Difference cell volt: %f\r\n", (float)_cellMax - _cellMin / 1000); Serial.printf("Average cell volt: %f\r\n", (float)_cellSum / NumOfCells / 1000); + gotCellInfo=true; + return true; }