Skip to content

Commit

Permalink
Fix empty line in the IGC file
Browse files Browse the repository at this point in the history
  • Loading branch information
pjalocha committed Feb 12, 2022
1 parent d6f2625 commit d5ffbfa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main/sdlog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,9 @@ static int IGC_Header(const GPS_Position &Pos) // write the
IGC_HeadParm("HFCIDCompetitionID:", Parameters.ID); // competition ID
{
#ifdef WITH_FollowMe
int Len=Format_String(Line, "HFRHWHardwareVersion:FollowMe\n");
int Len=Format_String(Line, "HFRHWHardwareVersion:FollowMe");
#else
int Len=Format_String(Line, "HFRHWHardwareVersion:ESP32+LoRa\n"); // hardware version
int Len=Format_String(Line, "HFRHWHardwareVersion:ESP32+LoRa"); // hardware version
#endif
Line[Len++]='\n'; Line[Len]=0;
IGC_LogLine(Line, Len); }
Expand Down

0 comments on commit d5ffbfa

Please sign in to comment.