Configure PWM switch driver via DTS
Driver now moved to separate .c file to allow ISR handling in Zephyr.
This commit is contained in:
+1
-1
@@ -45,7 +45,7 @@ Dcdc dcdc(&hv_terminal, &dcdc_lv_port, MODE_MPPT_BUCK);
|
||||
#endif // CONFIG_HV_TERMINAL
|
||||
#endif
|
||||
|
||||
#if DT_COMPAT_PWM_SWITCH
|
||||
#if DT_OUTPUTS_PWM_SWITCH_PRESENT
|
||||
PwmSwitch pwm_switch(&lv_bus);
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user