From a6df0eb0c268b27495c97e2c3fa966c00327ce47 Mon Sep 17 00:00:00 2001 From: aw Date: Tue, 11 Jun 2024 06:56:00 +0200 Subject: [PATCH] bug(EvseV2G): use correct enum type Signed-off-by: aw --- modules/EvseV2G/iso_server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/EvseV2G/iso_server.cpp b/modules/EvseV2G/iso_server.cpp index cb0127b9ea..100118de19 100644 --- a/modules/EvseV2G/iso_server.cpp +++ b/modules/EvseV2G/iso_server.cpp @@ -2007,7 +2007,7 @@ static enum v2g_event handle_iso_cable_check(struct v2g_connection* conn) { res->DC_EVSEStatus.NotificationMaxDelay = (uint16_t)conn->ctx->evse_v2g_data.notification_max_delay; res->EVSEProcessing = (iso1EVSEProcessingType)conn->ctx->evse_v2g_data.evse_processing[PHASE_ISOLATION]; - if (conn->ctx->intl_emergency_shutdown == false && res->EVSEProcessing == dinEVSEProcessingType_Finished) { + if (conn->ctx->intl_emergency_shutdown == false && res->EVSEProcessing == iso1EVSEProcessingType_Finished) { res->DC_EVSEStatus.EVSEStatusCode = iso1DC_EVSEStatusCodeType_EVSE_Ready; } else { res->DC_EVSEStatus.EVSEStatusCode = get_emergency_status_code(conn->ctx, PHASE_ISOLATION);