Subversion Repositories NaviCtrl

Rev

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

Rev 419 Rev 421
Line 426... Line 426...
426
                                    {
426
                                    {
427
                                         name[i] = GPS_pWaypoint->Name[i];
427
                                         name[i] = GPS_pWaypoint->Name[i];
428
                                         if(name[i] < ' ') name[i] = ' ';
428
                                         if(name[i] < ' ') name[i] = ' ';
429
                                        }
429
                                        }
430
                                 }
430
                                 }
431
                                sprintf(string, "<WP>%s,%d,%d,%d</WP>\r\n",name,NaviData.WaypointIndex,NaviData.WaypointNumber,FC_WP_EventChannel);      // x of y Waypoints and the actual value of the Event Channel
431
                                sprintf(string, "<WP>%s,%d,%d,%d</WP>\r\n",name,NaviData.WaypointIndex,NaviData.WaypointNumber,LogFC_WP_EventChannel);   // x of y Waypoints and the actual value of the Event Channel
-
 
432
                                LogFC_WP_EventChannel = 0; // can be cleared now
432
                                fputs_(string, doc->file);
433
                                fputs_(string, doc->file);
433
                           break;
434
                           break;
434
                           case 7:
435
                           case 7:
435
                                // Target Bearing in deg
436
                                // Target Bearing in deg
436
                                sprintf(string, "<TargetBearing>%03d</TargetBearing>\r\n", NaviData.TargetPositionDeviation.Bearing);
437
                                sprintf(string, "<TargetBearing>%03d</TargetBearing>\r\n", NaviData.TargetPositionDeviation.Bearing);