ficx
This commit is contained in:
parent
939df496f8
commit
95b27ba0c0
@ -283,6 +283,8 @@ bool processBasicInfo(byte *data, unsigned int dataLen){
|
|||||||
Serial.printf("Balance Code High: 0x%x\r\n", BalanceCodeHigh);
|
Serial.printf("Balance Code High: 0x%x\r\n", BalanceCodeHigh);
|
||||||
Serial.printf("Mosfet Status: 0x%x\r\n", MosfetStatus);
|
Serial.printf("Mosfet Status: 0x%x\r\n", MosfetStatus);
|
||||||
|
|
||||||
|
gotBasicInfo=true;
|
||||||
|
|
||||||
return 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("Difference cell volt: %f\r\n", (float)_cellMax - _cellMin / 1000);
|
||||||
Serial.printf("Average cell volt: %f\r\n", (float)_cellSum / NumOfCells / 1000);
|
Serial.printf("Average cell volt: %f\r\n", (float)_cellSum / NumOfCells / 1000);
|
||||||
|
|
||||||
|
gotCellInfo=true;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user