mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-06 03:50:13 +02:00
More batteries to common image
This commit is contained in:
parent
57f8d2618e
commit
02917dcbea
64 changed files with 885 additions and 722 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue