From 199e13843fbae4236e49793f49a24e0228adc471 Mon Sep 17 00:00:00 2001 From: Dima Dorezyuk Date: Thu, 31 Oct 2024 14:04:49 +0100 Subject: [PATCH] EvseManager: disable the bsp when disabling charger Signed-off-by: Dima Dorezyuk --- modules/EvseManager/Charger.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/EvseManager/Charger.cpp b/modules/EvseManager/Charger.cpp index b17c44717..c34181829 100644 --- a/modules/EvseManager/Charger.cpp +++ b/modules/EvseManager/Charger.cpp @@ -1477,6 +1477,8 @@ bool Charger::enable_disable(int connector_id, const types::evse_manager::Enable shared_context.current_state = EvseState::Disabled; signal_simple_event(types::evse_manager::SessionEventEnum::Disabled); } + bsp->enable(is_enabled); + return is_enabled; }