1
0
Fork 0

Manufacturer code added to the igc file

to make gpsbabel accept our igc files, added the manufacturer code , wich should
 be the first line in igc file, as stated page 35 in :

https://www.fai.org/sites/default/files/igc_fr_ts_2016.pdf
This commit is contained in:
jano 2020-04-18 13:16:55 +02:00
parent 52a6245b49
commit dc1bc21d2f

View file

@ -68,6 +68,7 @@ bool IGCProtocol::gen_Hrecords()
#endif #endif
length = snprintf(buf, FG_MAX_MSG_SIZE, length = snprintf(buf, FG_MAX_MSG_SIZE,
"AXYYZZZFlightGear\r\n" // Manufacturer code
"HFDTE%02d%02d%02d\r\n" // date: DDMMYY "HFDTE%02d%02d%02d\r\n" // date: DDMMYY
"HFFXA001\r\n" // fix accuracy (1 meter) "HFFXA001\r\n" // fix accuracy (1 meter)
"HFGTYGliderType:%s\r\n" // aircraft type "HFGTYGliderType:%s\r\n" // aircraft type