Equalization charging phase added

This commit is contained in:
Martin Jaeger
2019-10-16 10:02:27 +02:00
parent 472fb03cc6
commit 0545131a99
5 changed files with 218 additions and 97 deletions
+2 -2
View File
@@ -124,7 +124,7 @@ void no_buck_start_if_bat_voltage_low()
void no_buck_start_if_bat_voltage_high()
{
init_structs_buck();
lv_bus_int.voltage = bat_conf.voltage_topping + 0.1;
lv_bus_int.voltage = bat_conf.topping_voltage + 0.1;
TEST_ASSERT_EQUAL(0, dcdc_check_start_conditions(&dcdc));
}
@@ -161,7 +161,7 @@ void no_boost_start_if_bat_voltage_low()
void no_boost_start_if_bat_voltage_high()
{
init_structs_boost();
hv_terminal.voltage = bat_conf.voltage_topping + 0.1;
hv_terminal.voltage = bat_conf.topping_voltage + 0.1;
TEST_ASSERT_EQUAL(0, dcdc_check_start_conditions(&dcdc));
}