Skip to content

Commit

Permalink
bug(EvseV2G): use correct enum type
Browse files Browse the repository at this point in the history
Signed-off-by: aw <[email protected]>
  • Loading branch information
a-w50 committed Jun 11, 2024
1 parent 6c57d23 commit b47f9bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/EvseV2G/iso_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b47f9bf

Please sign in to comment.