Battery discharging control restructured
- Discharging control separated from charger state machine - Unit-tests for discharging control added - DC bus chg/dis_enabled flags removed, control now only based on chge/dis_current_limit values - _current_max values renamed to _limit to make more clear that values for discharging direction must be negative - Load output struct now stores pointer to internal and external DC bus objects
This commit is contained in:
+2
-1
@@ -22,8 +22,9 @@
|
||||
* @brief DC/DC buck/boost control functions
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include "bat_charger.h"
|
||||
|
||||
#include "dc_bus.h"
|
||||
|
||||
/** DC/DC basic operation mode
|
||||
|
||||
Reference in New Issue
Block a user