Skip to content

Commit 5b14753

Browse files
committed
Addressed requested changes
Signed-off-by: Piet Gömpel <pietgoempel@gmail.com>
1 parent c88a637 commit 5b14753

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

lib/ocpp/v16/charge_point_impl.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1517,6 +1517,7 @@ void ChargePointImpl::handle_message(const EnhancedMessage<v16::MessageType>& me
15171517
case MessageType::CertificateSignedResponse:
15181518
case MessageType::ChangeAvailabilityResponse:
15191519
case MessageType::ChangeConfigurationResponse:
1520+
case MessageType::ClearCacheResponse:
15201521
case MessageType::ClearChargingProfileResponse:
15211522
case MessageType::DeleteCertificateResponse:
15221523
case MessageType::DiagnosticsStatusNotification:
@@ -1557,7 +1558,6 @@ void ChargePointImpl::handle_message(const EnhancedMessage<v16::MessageType>& me
15571558
case MessageType::UnlockConnectorResponse:
15581559
case MessageType::UpdateFirmwareResponse:
15591560
case MessageType::InternalError:
1560-
case MessageType::ClearCacheResponse:
15611561
// TODO(kai): not implemented error?
15621562
break;
15631563
}

lib/ocpp/v2/functional_blocks/security.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,6 @@ bool Security::should_allow_certificate_install(InstallCertificateUseEnum cert_t
441441
.value_or(true);
442442
case InstallCertificateUseEnum::MORootCertificate:
443443
case InstallCertificateUseEnum::V2GRootCertificate:
444-
default:
445444
return true;
446445
}
447446
}

0 commit comments

Comments
 (0)