Subversion Repositories NaviCtrl

Rev

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

Rev 770 Rev 780
Line 519... Line 519...
519
                                ToFlightCtrl.Param.Int[3] =  NaviData.TargetPositionDeviation.Distance_dm / 10;
519
                                ToFlightCtrl.Param.Int[3] =  NaviData.TargetPositionDeviation.Distance_dm / 10;
520
                                ToFlightCtrl.Param.Byte[8] = NaviData.TargetHoldTime; // time in s to stay at the given target, counts down to 0 if target has been reached
520
                                ToFlightCtrl.Param.Byte[8] = NaviData.TargetHoldTime; // time in s to stay at the given target, counts down to 0 if target has been reached
521
                                ToFlightCtrl.Param.Byte[9] = ToFC_MaxWpListIndex;
521
                                ToFlightCtrl.Param.Byte[9] = ToFC_MaxWpListIndex;
522
                                ToFlightCtrl.Param.sInt[5] = GyroCompassCorrected / 10; // Bytes 10 & 11
522
                                ToFlightCtrl.Param.sInt[5] = GyroCompassCorrected / 10; // Bytes 10 & 11
523
                                ToFlightCtrl.Param.Byte[12] = CamCtrlCharacter;
523
                                ToFlightCtrl.Param.Byte[12] = CamCtrlCharacter;
-
 
524
                                ToFlightCtrl.Param.Byte[13] = BaroCalState;
-
 
525
                                ToFlightCtrl.Param.sInt[7] = LuftdruckTemperaturOffset; // Bytes 14 & 15
524
                                break;
526
                                break;
Line 525... Line 527...
525
 
527
 
526
                        case SPI_NCCMD_GPSINFO:
528
                        case SPI_NCCMD_GPSINFO:
527
                                ToFlightCtrl.Param.Byte[0] = GPSData.Flags;
529
                                ToFlightCtrl.Param.Byte[0] = GPSData.Flags;