Enabled all warnings for unit-test builds
This commit is contained in:
@@ -251,7 +251,6 @@ void buck_derating_temperature_limits_exceeded()
|
||||
void buck_stop_input_power_too_low()
|
||||
{
|
||||
start_buck();
|
||||
float pwm_before = half_bridge_get_duty_cycle();
|
||||
dcdc.power_good_timestamp = time(NULL) - 11;
|
||||
dcdc.control();
|
||||
TEST_ASSERT(half_bridge_enabled() == false);
|
||||
@@ -260,7 +259,6 @@ void buck_stop_input_power_too_low()
|
||||
void buck_stop_high_voltage_emergency()
|
||||
{
|
||||
start_buck();
|
||||
float pwm_before = half_bridge_get_duty_cycle();
|
||||
dcdc_lv_port.voltage = dcdc.ls_voltage_max + 0.1;
|
||||
dcdc.control();
|
||||
TEST_ASSERT(half_bridge_enabled() == false);
|
||||
|
||||
@@ -9,13 +9,6 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
static void init_structs()
|
||||
{
|
||||
battery_conf_init(&bat_conf, BAT_TYPE_FLOODED, 6, 100);
|
||||
battery_init_dc_bus(&bat_terminal, &bat_conf, 1);
|
||||
charger.state = CHG_STATE_IDLE;
|
||||
}
|
||||
|
||||
static adc_values_t adcval;
|
||||
|
||||
const float dcdc_current_sun = 3;
|
||||
|
||||
Reference in New Issue
Block a user