Rev 342 | Rev 358 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 342 | Rev 351 | ||
---|---|---|---|
Line 32... | Line 32... | ||
32 | extern u8 MotorTemperature[12]; |
32 | extern u8 MotorTemperature[12]; |
33 | extern u8 BL_MinOfMaxPWM; // indication if all BL-controllers run on full power |
33 | extern u8 BL_MinOfMaxPWM; // indication if all BL-controllers run on full power |
34 | extern u32 FC_I2C_ErrorConter; |
34 | extern u32 FC_I2C_ErrorConter; |
35 | extern u8 FromFC_VarioCharacter; |
35 | extern u8 FromFC_VarioCharacter; |
36 | extern u8 Logging_FCStatusFlags1,Logging_FCStatusFlags2; |
36 | extern u8 Logging_FCStatusFlags1,Logging_FCStatusFlags2; |
37 | - | ||
- | 37 | extern s16 POI_KameraNick; |
|
- | 38 | extern u8 NC_To_FC_Flags; |
|
38 | typedef struct |
39 | typedef struct |
39 | { |
40 | { |
40 | u8 Command; |
41 | u8 Command; |
41 | s16 AngleNick; // NickAngle in 0.1 deg |
42 | s16 AngleNick; // NickAngle in 0.1 deg |
42 | s16 AngleRoll; // RollAngle in 0.1 deg |
43 | s16 AngleRoll; // RollAngle in 0.1 deg |
Line 58... | Line 59... | ||
58 | float Float[3]; |
59 | float Float[3]; |
59 | } Param; |
60 | } Param; |
60 | u8 Chksum; |
61 | u8 Chksum; |
61 | } __attribute__((packed)) FromFlightCtrl_t; |
62 | } __attribute__((packed)) FromFlightCtrl_t; |
Line -... | Line 63... | ||
- | 63 | ||
- | 64 | //NC_To_FC_Flags |
|
- | 65 | #define NC_TO_FC_FLYING_RANGE 0x01 |
|
- | 66 | #define NC_TO_FC_EMERGENCY_LANDING 0x02 |
|
62 | 67 | ||
63 | #define SPI_NCCMD_OSD_DATA 100 |
68 | #define SPI_NCCMD_OSD_DATA 100 |
64 | #define SPI_NCCMD_GPS_POS 101 |
69 | #define SPI_NCCMD_GPS_POS 101 |
65 | #define SPI_NCCMD_GPS_TARGET 102 |
70 | #define SPI_NCCMD_GPS_TARGET 102 |
66 | #define SPI_NCCMD_KALMAN 103 |
71 | #define SPI_NCCMD_KALMAN 103 |