From d5ffbfacec8bac6882c872d86f68c056a9b08188 Mon Sep 17 00:00:00 2001 From: Pawel Jalocha Date: Sat, 12 Feb 2022 12:42:04 +0000 Subject: [PATCH] Fix empty line in the IGC file --- main/sdlog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/sdlog.cpp b/main/sdlog.cpp index ae92aae..43b501a 100644 --- a/main/sdlog.cpp +++ b/main/sdlog.cpp @@ -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); }