DC/DC and PWM switch configuration via DTS
As these settings are clearly hardware-specific, configuration was moved from Kconfig (hidden symbols) to DTS. New bindings added.
This commit is contained in:
@@ -84,7 +84,7 @@ void DeviceStatus::update_min_max_values()
|
||||
}
|
||||
#endif
|
||||
|
||||
#if CONFIG_HAS_DCDC_CONVERTER
|
||||
#if DT_COMPAT_DCDC
|
||||
if (dcdc.lvs->current > dcdc_current_max) {
|
||||
dcdc_current_max = dcdc.lvs->current;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user