Rev 386 | Rev 419 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 386 | Rev 414 | ||
---|---|---|---|
Line 374... | Line 374... | ||
374 | sprintf(string, "<RCQuality>%d</RCQuality>\r\n", FC.RC_Quality); |
374 | sprintf(string, "<RCQuality>%d</RCQuality>\r\n", FC.RC_Quality); |
375 | fputs_(string, doc->file); |
375 | fputs_(string, doc->file); |
376 | // RC Received Signal Strength Indication |
376 | // RC Received Signal Strength Indication |
377 | break; |
377 | break; |
378 | case 4: |
378 | case 4: |
- | 379 | if(FC.RC_RSSI) |
|
- | 380 | { |
|
379 | sprintf(string, "<RCRSSI>%d</RCRSSI>\r\n", FC.RC_RSSI); |
381 | sprintf(string, "<RCRSSI>%d</RCRSSI>\r\n", FC.RC_RSSI); |
380 | fputs_(string, doc->file); |
382 | fputs_(string, doc->file); |
- | 383 | } |
|
381 | // Compassind deg |
384 | // Compassind deg |
382 | i16_1 = FromFlightCtrl.GyroHeading / 10; |
385 | i16_1 = FromFlightCtrl.GyroHeading / 10; |
383 | sprintf(string, "<Compass>%03d,%03d</Compass>\r\n", i16_1,ToFlightCtrl.CompassHeading); |
386 | sprintf(string, "<Compass>%03d,%03d</Compass>\r\n", i16_1,ToFlightCtrl.CompassHeading); |
384 | fputs_(string, doc->file); |
387 | fputs_(string, doc->file); |
385 | // Nick Angle ind deg |
388 | // Nick Angle ind deg |