More batteries to common image

This commit is contained in:
Jaakko Haakana 2025-06-17 23:19:26 +03:00
parent 57f8d2618e
commit 02917dcbea
64 changed files with 885 additions and 722 deletions

View file

@ -60,7 +60,7 @@ void DalyBms::update_values() {
}
void DalyBms::setup(void) { // Performs one time setup at startup
strncpy(datalayer.system.info.battery_protocol, "DALY RS485", 63);
strncpy(datalayer.system.info.battery_protocol, Name, 63);
datalayer.system.info.battery_protocol[63] = '\0';
datalayer.battery.info.number_of_cells = CELL_COUNT;
datalayer.battery.info.max_design_voltage_dV = MAX_PACK_VOLTAGE_DV;