Subversion Repositories NaviCtrl

Rev

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

Rev 426 Rev 448
Line 54... Line 54...
54
extern u8 BL_MinOfMaxPWM;  // indication if all BL-controllers run on full power
54
extern u8 BL_MinOfMaxPWM;  // indication if all BL-controllers run on full power
55
extern u32 FC_I2C_ErrorConter;
55
extern u32 FC_I2C_ErrorConter;
56
extern u8 FromFC_VarioCharacter;
56
extern u8 FromFC_VarioCharacter;
57
extern u8 Logging_FCStatusFlags1,Logging_FCStatusFlags2;
57
extern u8 Logging_FCStatusFlags1,Logging_FCStatusFlags2;
58
extern s16 POI_KameraNick;
58
extern s16 POI_KameraNick;
59
extern u8 NC_To_FC_Flags;
59
extern u8 NC_To_FC_Flags, NC_To_FC_Autostart;
60
typedef struct
60
typedef struct
61
{
61
{
62
        u8   Command;
62
        u8   Command;
63
        s16  AngleNick;  // NickAngle in 0.1 deg
63
        s16  AngleNick;  // NickAngle in 0.1 deg
64
        s16  AngleRoll;  // RollAngle in 0.1 deg
64
        s16  AngleRoll;  // RollAngle in 0.1 deg
Line 83... Line 83...
83
 } __attribute__((packed)) FromFlightCtrl_t;
83
 } __attribute__((packed)) FromFlightCtrl_t;
Line 84... Line 84...
84
 
84
 
85
//NC_To_FC_Flags
85
//NC_To_FC_Flags
86
#define NC_TO_FC_FLYING_RANGE           0x01
86
#define NC_TO_FC_FLYING_RANGE           0x01
-
 
87
#define NC_TO_FC_EMERGENCY_LANDING      0x02
-
 
88
#define NC_TO_FC_AUTOSTART                      0x04
Line 87... Line 89...
87
#define NC_TO_FC_EMERGENCY_LANDING      0x02
89
#define NC_TO_FC_AUTOLANDING            0x08 // not used 
88
 
90
 
89
#define SPI_NCCMD_OSD_DATA              100
91
#define SPI_NCCMD_OSD_DATA              100
90
#define SPI_NCCMD_GPS_POS               101
92
#define SPI_NCCMD_GPS_POS               101