Skip to content

Commit 7aa118f

Browse files
committed
fix test cases
1 parent 294e5b9 commit 7aa118f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/MicroOcpp/Model/Transactions/TransactionService201.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,8 @@ void TransactionServiceEvse::loop() {
402402
txStartCondition = true;
403403
if (transaction->remoteStartId >= 0) {
404404
triggerReason = MO_TxEventTriggerReason_RemoteStart;
405+
} else if (!transaction->trackAuthorized) {
406+
triggerReason = MO_TxEventTriggerReason_Authorized;
405407
} else {
406408
triggerReason = MO_TxEventTriggerReason_CablePluggedIn;
407409
}

0 commit comments

Comments
 (0)