Rev 532 | Rev 573 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 532 | Rev 559 | ||
---|---|---|---|
Line 78... | Line 78... | ||
78 | extern u8 NC_Wait_for_LED; |
78 | extern u8 NC_Wait_for_LED; |
79 | extern s16 GyroCompassCorrected; |
79 | extern s16 GyroCompassCorrected; |
80 | extern s16 CompassSetpointCorrected; // The compass setpoint that the FC tries to keep - corrected with the magnetic declination |
80 | extern s16 CompassSetpointCorrected; // The compass setpoint that the FC tries to keep - corrected with the magnetic declination |
81 | extern s16 CompassSetpoint; |
81 | extern s16 CompassSetpoint; |
82 | extern u8 AmountOfMotors; |
82 | extern u8 AmountOfMotors; |
- | 83 | extern s16 SimulatedDirection; // simulated compass direction |
|
Line 83... | Line 84... | ||
83 | 84 | ||
84 | extern u8 BL_MinOfMaxPWM; // indication if all BL-controllers run on full power |
85 | extern u8 BL_MinOfMaxPWM; // indication if all BL-controllers run on full power |
85 | extern u8 Logging_BL_MinOfMaxPWM; |
86 | extern u8 Logging_BL_MinOfMaxPWM; |
86 | extern u8 ErrorCheck_BL_MinOfMaxPWM; |
87 | extern u8 ErrorCheck_BL_MinOfMaxPWM; |
Line 119... | Line 120... | ||
119 | //NC_To_FC_Flags |
120 | //NC_To_FC_Flags |
120 | #define NC_TO_FC_FLYING_RANGE 0x01 |
121 | #define NC_TO_FC_FLYING_RANGE 0x01 |
121 | #define NC_TO_FC_EMERGENCY_LANDING 0x02 |
122 | #define NC_TO_FC_EMERGENCY_LANDING 0x02 |
122 | #define NC_TO_FC_AUTOSTART 0x04 |
123 | #define NC_TO_FC_AUTOSTART 0x04 |
123 | #define NC_TO_FC_AUTOLANDING 0x08 // not used |
124 | #define NC_TO_FC_AUTOLANDING 0x08 // not used |
- | 125 | #define NC_TO_FC_SIMULATION_ACTIVE 0x10 // don't start motors if simulation ist active |
|
Line 124... | Line 126... | ||
124 | 126 | ||
125 | #define SPI_NCCMD_OSD_DATA 100 |
127 | #define SPI_NCCMD_OSD_DATA 100 |
126 | #define SPI_NCCMD_GPS_POS 101 |
128 | #define SPI_NCCMD_GPS_POS 101 |
127 | #define SPI_NCCMD_GPS_TARGET 102 |
129 | #define SPI_NCCMD_GPS_TARGET 102 |