Skip to content

Commit 1689d1e

Browse files
authored
Merge pull request #137 from SiarheiVolkau/patch-1
fix logic error in handling charging profiles
2 parents 0b99c4c + ab792f8 commit 1689d1e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/chargepoint/smartcharging/SmartChargingManager.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,7 @@ bool SmartChargingManager::handleMessage(const ocpp::messages::SetChargingProfil
303303
}
304304
else
305305
{
306+
ret = false;
306307
error_message = "Recurring profiles must have a start schedule and a duration";
307308
}
308309
}

0 commit comments

Comments
 (0)