diff options
Diffstat (limited to 'board/kuldax/fw_config.c')
-rw-r--r-- | board/kuldax/fw_config.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/board/kuldax/fw_config.c b/board/kuldax/fw_config.c index 4229f3bed1..7f0204f667 100644 --- a/board/kuldax/fw_config.c +++ b/board/kuldax/fw_config.c @@ -71,3 +71,8 @@ void ec_bj_power(uint32_t *voltage, uint32_t *current) *voltage = bj_power[bj].voltage; *current = bj_power[bj].current; } + +bool ec_cfg_has_peripheral_charger(void) +{ + return (fw_config.peripheral_charger == PERIPHERAL_CHARGER_ENABLE); +} |