Fix empty line in the IGC file

pull/46/head
Pawel Jalocha 2022-02-12 12:42:04 +00:00
rodzic d6f262512c
commit d5ffbfacec
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -196,9 +196,9 @@ static int IGC_Header(const GPS_Position &Pos) // write the
IGC_HeadParm("HFCIDCompetitionID:", Parameters.ID); // competition ID IGC_HeadParm("HFCIDCompetitionID:", Parameters.ID); // competition ID
{ {
#ifdef WITH_FollowMe #ifdef WITH_FollowMe
int Len=Format_String(Line, "HFRHWHardwareVersion:FollowMe\n"); int Len=Format_String(Line, "HFRHWHardwareVersion:FollowMe");
#else #else
int Len=Format_String(Line, "HFRHWHardwareVersion:ESP32+LoRa\n"); // hardware version int Len=Format_String(Line, "HFRHWHardwareVersion:ESP32+LoRa"); // hardware version
#endif #endif
Line[Len++]='\n'; Line[Len]=0; Line[Len++]='\n'; Line[Len]=0;
IGC_LogLine(Line, Len); } IGC_LogLine(Line, Len); }