Skip to content

Commit

Permalink
MNEALogger : remove useless unsigned comparison to zero
Browse files Browse the repository at this point in the history
  • Loading branch information
brunotl committed Aug 1, 2024
1 parent 4a0a15a commit ed9ebd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Common/Source/Logger/NMEAlogger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ static bool wasWriting=false;
{
if( iLastPort != PortNum) /* more than one port active (another than the previous) */
{
if((PortNum >= 0) && (PortNum < NUMDEV))
if(PortNum < NUMDEV)
{
if(logfsingle[PortNum] == NULL)
{
Expand Down

0 comments on commit ed9ebd8

Please sign in to comment.