Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -624,9 +624,9 @@ public WydotTravelerInputData updateTim(WydotTravelerInputData timToSend, Long t
// set TIM packetId
timToSend.getTim().setPacketID(tim.getPacketID());

// roll msgCnt over to 1 if at 127
// roll msgCnt over to 0 if at 127
if (tim.getMsgCnt() == 127)
timToSend.getTim().setMsgCnt(1);
timToSend.getTim().setMsgCnt(0);
// else increment msgCnt
else
timToSend.getTim().setMsgCnt(tim.getMsgCnt() + 1);
Expand Down
Loading