Skip to content

Commit efb80ef

Browse files
committed
fix compilation error
1 parent 05a89d3 commit efb80ef

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/MicroOcpp/Operations/UnlockConnector.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ std::unique_ptr<JsonDoc> UnlockConnector::createConf() {
8181

8282

8383
#if MO_ENABLE_V201
84+
#if MO_ENABLE_CONNECTOR_LOCK
8485

8586
#include <MicroOcpp/Model/RemoteControl/RemoteControlService.h>
8687

@@ -159,4 +160,5 @@ std::unique_ptr<JsonDoc> UnlockConnector::createConf() {
159160
} // namespace Ocpp201
160161
} // namespace MicroOcpp
161162

163+
#endif //MO_ENABLE_CONNECTOR_LOCK
162164
#endif //MO_ENABLE_V201

0 commit comments

Comments
 (0)