Skip to content

Commit

Permalink
Address review comments
Browse files Browse the repository at this point in the history
Signed-off-by: Cornelius Claussen <[email protected]>
  • Loading branch information
corneliusclaussen committed Dec 22, 2023
1 parent 740da25 commit d24b64f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
4 changes: 0 additions & 4 deletions modules/EvseManager/Charger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,6 @@ void Charger::runStateMachine() {

if (!powerAvailable()) {
pauseChargingWaitForPower();
// FIXME new in state breaks
break;
}

Expand Down Expand Up @@ -545,9 +544,6 @@ void Charger::runStateMachine() {

if (initialize_state) {
signalEvent(types::evse_manager::SessionEventEnum::ChargingPausedEV);
// bsp->allow_power_on(true, types::evse_board_support::Reason::FullPowerCharging);
// make sure we are enabling PWM
// update_pwm_now(ampereToDutyCycle(getMaxCurrent()));
} else {
// update PWM if it has changed and 5 seconds have passed since last update
if (!errors_prevent_charging()) {
Expand Down
7 changes: 0 additions & 7 deletions modules/EvseManager/Charger.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,6 @@ class Charger {

void notifyCurrentDemandStarted();

// Note: Deprecated, do not use EvseState externally.
// Kept for compatibility, will be removed from public interface
// in the future.
// Use new EvseEvent interface instead.

enum class EvseState {
Disabled,
Idle,
Expand All @@ -173,8 +168,6 @@ class Charger {

EvseState getCurrentState();
sigslot::signal<EvseState> signalState;
// sigslot::signal<types::evse_manager::ErrorEnum> signalError;
// /Deprecated

void inform_new_evse_max_hlc_limits(const types::iso15118_charger::DC_EVSEMaximumLimits& l);
types::iso15118_charger::DC_EVSEMaximumLimits get_evse_max_hlc_limits();
Expand Down

0 comments on commit d24b64f

Please sign in to comment.