From 95b27ba0c0b7e1dfc28fb8e867d42d3941921bc0 Mon Sep 17 00:00:00 2001 From: James Date: Thu, 25 Apr 2024 22:07:02 +0100 Subject: [PATCH] ficx --- ESPBMS.ino | 4 ++++ 1 file changed, 4 insertions(+) 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; }