Skip to content

Commit

Permalink
PX4BinaryLog.cs: Solve typos
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick José Pereira <[email protected]>
  • Loading branch information
patrickelectric committed Feb 17, 2017
1 parent 5a9946e commit 2dcaf86
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions LogViewer/LogViewer/Utilities/PX4BinaryLog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ void logEntryFMT(byte packettype, Stream br)
size = fmt.Length;
}

// didnt find a match, return unknown packet type
// didn't find a match, return unknown packet type
if (size == 0)
return;

Expand Down Expand Up @@ -528,7 +528,7 @@ object ReadRow(byte packettype, Stream br)
size = fmt.Length;
}

// didnt find a match, return unknown packet type
// didn't find a match, return unknown packet type
if (fmt == null)
return null;

Expand Down Expand Up @@ -607,7 +607,7 @@ string logEntry(byte packettype, Stream br)
size = fmt.Length;
}

// didnt find a match, return unknown packet type
// didn't find a match, return unknown packet type
if (size == 0)
return "UNKW, " + packettype;

Expand Down Expand Up @@ -646,7 +646,7 @@ string logEntry(byte packettype, Stream br)
/// <param name="message">raw binary message</param>
/// <param name="name">Message type name</param>
/// <param name="format">format string containing packet structure</param>
/// <returns>formated ascii string</returns>
/// <returns>formatted ascii string</returns>
string ProcessMessage(byte[] message, string name, string format)
{
char[] form = format.ToCharArray();
Expand Down

0 comments on commit 2dcaf86

Please sign in to comment.