DC/DC: Use high/low DcBus instead of PowerPort for control
This makes more sense because the DC/DC converter actually connects two DcBuses and does not need separate PowerPorts. Also makes the code look more clean as variable access like dcdc.hvs->bus->voltage is avoided. The DcBus pointers in the Dcdc are now called hvb and lvb for high- voltage side bus and low-voltage side bus.
This commit is contained in:
@@ -21,7 +21,6 @@ extern PowerPort lv_terminal;
|
||||
#if DT_NODE_EXISTS(DT_PATH(dcdc))
|
||||
extern DcBus hv_bus;
|
||||
extern PowerPort hv_terminal;
|
||||
extern PowerPort dcdc_lv_port;
|
||||
extern Dcdc dcdc;
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user