Rev 421 | Rev 434 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 421 | Rev 428 | ||
---|---|---|---|
Line 343... | Line 343... | ||
343 | sprintf(string, "<ErrorCode>%03d</ErrorCode>\r\n",ErrorCode); |
343 | sprintf(string, "<ErrorCode>%03d</ErrorCode>\r\n",ErrorCode); |
344 | fputs_(string, doc->file); |
344 | fputs_(string, doc->file); |
345 | // Flags |
345 | // Flags |
346 | sprintf(string, "<FCFlags2>0x%02x,0x%02x</FCFlags2>\r\n",Logging_FCStatusFlags1,Logging_FCStatusFlags2); |
346 | sprintf(string, "<FCFlags2>0x%02x,0x%02x</FCFlags2>\r\n",Logging_FCStatusFlags1,Logging_FCStatusFlags2); |
347 | fputs_(string, doc->file); |
347 | fputs_(string, doc->file); |
348 | Logging_FCStatusFlags1 = 0; |
348 | Logging_FCStatusFlags1 = FC.StatusFlags; |
349 | Logging_FCStatusFlags2 = 0; |
349 | Logging_FCStatusFlags2 = FC.StatusFlags2; |
350 | // NC Mode (contains the status) |
350 | // NC Mode (contains the status) |
351 | sprintf(string, "<NCFlag>0x%02X</NCFlag>\r\n", NCFlags); |
351 | sprintf(string, "<NCFlag>0x%02X</NCFlag>\r\n", NCFlags); |
352 | fputs_(string, doc->file); |
352 | fputs_(string, doc->file); |
353 | // Altimeter according to air pressure |
353 | // Altimeter according to air pressure |
354 | sprintf(string, "<Altimeter>%d,'%c'</Altimeter>\r\n", NaviData.Altimeter,FromFC_VarioCharacter); |
354 | sprintf(string, "<Altimeter>%d,'%c'</Altimeter>\r\n", NaviData.Altimeter,FromFC_VarioCharacter); |