Call charge_control_init()

This commit is contained in:
Thomas Kolb 2021-06-11 22:35:59 +02:00
parent 1ad35dae2b
commit c504fb944c

View file

@ -193,8 +193,6 @@ int main(void)
bool ledtest_done = false;
bool startup_done = false;
uint8_t switchtest = 0; // FIXME: delme: just for testing
struct MeasurementResult meas_data;
init_clock();
@ -203,6 +201,7 @@ int main(void)
charge_pump_init();
power_switch_init();
measurement_init();
charge_control_init();
led_chplex_init();
led_chplex_on(LED_CHPLEX_IDX_SOLAR_ON);