Skip to content

Commit

Permalink
EvseManager: disable the bsp when disabling charger
Browse files Browse the repository at this point in the history
Signed-off-by: Dima Dorezyuk <[email protected]>
  • Loading branch information
Dima Dorezyuk committed Oct 31, 2024
1 parent 1e06aaa commit 199e138
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/EvseManager/Charger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 199e138

Please sign in to comment.