Skip to content

Commit 0bab031

Browse files
compile fix
1 parent 86a7c3a commit 0bab031

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/EVSE/EvseManager/Charger.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -849,13 +849,13 @@ void Charger::run_state_machine() {
849849
// First time we see that a fatal error became active, signal F for a short time.
850850
// Only use in basic charging mode.
851851
if (entered_fatal_error_state()) {
852-
pwm_F();
852+
cp_state_F();
853853
}
854854

855-
if (internal_context.pwm_F_active and
855+
if (internal_context.cp_state_F_active and
856856
time_in_fatal_error_state_ms() > config_context.state_F_after_fault_ms and
857857
shared_context.shutdown_type == ShutdownType::EmergencyShutdown) {
858-
pwm_off();
858+
cp_state_X1();
859859
}
860860
}
861861

0 commit comments

Comments
 (0)