12V/24V detection added and bat_charger restructured
This commit is contained in:
@@ -176,6 +176,7 @@ void pwm_switch_control(pwm_switch_t *pwm_switch, dc_bus_t *solar_port, dc_bus_t
|
||||
void pwm_switch_init(pwm_switch_t *pwm_switch) {}
|
||||
void pwm_switch_control(pwm_switch_t *pwm_switch, dc_bus_t *solar_port, dc_bus_t *bat_port) {}
|
||||
void pwm_switch_duty_cycle_step(int delta) {}
|
||||
bool pwm_switch_enabled() {return false;}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user