Subversion Repositories NaviCtrl

Rev

Rev 119 | Rev 126 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 119 Rev 125
Line 311... Line 311...
311
                                sprintf(string, "<sat>%d</sat>\r\n", NaviData.SatsInUse);
311
                                sprintf(string, "<sat>%d</sat>\r\n", NaviData.SatsInUse);
312
                                fputs_(string, doc->file);
312
                                fputs_(string, doc->file);
313
                                // todo: add  <extensions> tag with additional data to be logged
313
                                // todo: add  <extensions> tag with additional data to be logged
314
                                sprintf(string, "<extensions>\r\n");
314
                                sprintf(string, "<extensions>\r\n");
315
                                fputs_(string, doc->file);
315
                                fputs_(string, doc->file);
-
 
316
                                // Altimeter according to air pressure
-
 
317
                                sprintf(string, "<Altimeter>%d</Altimeter>\r\n", NaviData.Altimeter);
316
                                // Course in deg
318
                                // Course in deg
317
                                i16_1 = GPSData.Heading/100000L;
319
                                i16_1 = GPSData.Heading/100000L;
318
                                sprintf(string, "<Course>%03d</Course>\r\n", i16_1);
320
                                sprintf(string, "<Course>%03d</Course>\r\n", i16_1);
319
                                fputs_(string, doc->file);
321
                                fputs_(string, doc->file);
320
                                // Ground Speed in cm/s
322
                                // Ground Speed in cm/s
Line 329... Line 331...
329
                                sprintf(string, "<Voltage>%d.%01d</Voltage>\r\n", u8_1, u8_2);
331
                                sprintf(string, "<Voltage>%d.%01d</Voltage>\r\n", u8_1, u8_2);
330
                                fputs_(string, doc->file);
332
                                fputs_(string, doc->file);
331
                                // RC Quality
333
                                // RC Quality
332
                                sprintf(string, "<RCQuality>%d</RCQuality>\r\n", FC.RC_Quality);
334
                                sprintf(string, "<RCQuality>%d</RCQuality>\r\n", FC.RC_Quality);
333
                                fputs_(string, doc->file);
335
                                fputs_(string, doc->file);
-
 
336
                                // RC Received Signal Strength Indication
-
 
337
                                sprintf(string, "<RCRSSI>%d</RCRSSI>\r\n", FC.RC_RSSI);
-
 
338
                                fputs_(string, doc->file);
334
                                // Compassind deg
339
                                // Compassind deg
335
                                i16_1 = FromFlightCtrl.GyroHeading / 10;
340
                                i16_1 = FromFlightCtrl.GyroHeading / 10;
336
                                sprintf(string, "<Compass>%03d</Compass>\r\n", i16_1);
341
                                sprintf(string, "<Compass>%03d</Compass>\r\n", i16_1);
337
                                fputs_(string, doc->file);
342
                                fputs_(string, doc->file);
338
                                // Nick Angle ind deg
343
                                // Nick Angle ind deg