Skip to content

Commit

Permalink
small change to make code more readable
Browse files Browse the repository at this point in the history
  • Loading branch information
dafiliks committed Dec 8, 2023
1 parent 05dd57c commit 499117c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion isobus/src/isobus_virtual_terminal_client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4330,7 +4330,7 @@ namespace isobus
bool alreadyReplaced = false;
for (auto it = commandQueue.begin(); it != commandQueue.end();)
{
bool matchesFunctionCode = (it[0][0] == data[0]);
bool matchesFunctionCode = (it->at(0) == data[0]);
if (matchesFunctionCode)
{
if (!alreadyReplaced)
Expand Down

0 comments on commit 499117c

Please sign in to comment.