DC bus integrated into PowerPort class
Reason: Previous idea with storing the voltage only once and not in every port doesn't work well for droop settings, e.g. the DC/DC output port doesn't know the actual battery current, which should be used to calculate the droop caued by wire resistance.
This commit is contained in:
@@ -81,8 +81,6 @@ public:
|
||||
uint16_t switch_state; ///< Current state of load output switch
|
||||
uint16_t usb_state; ///< Current state of USB output
|
||||
|
||||
DcBus *bus; ///< Pointer to internal DC bus where the load output
|
||||
///< current is coming from
|
||||
PowerPort *port; ///< Pointer to DC bus containting actual voltage and current
|
||||
///< measurement of (external) load output terminal
|
||||
|
||||
|
||||
Reference in New Issue
Block a user