Rev 519 | Rev 532 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 519 | Rev 530 | ||
---|---|---|---|
Line 77... | Line 77... | ||
77 | extern u8 SpeakHoTT; |
77 | extern u8 SpeakHoTT; |
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; |
|
Line 82... | Line 83... | ||
82 | 83 | ||
- | 84 | extern u8 BL_MinOfMaxPWM; // indication if all BL-controllers run on full power |
|
- | 85 | extern u8 Logging_BL_MinOfMaxPWM; |
|
83 | extern u8 BL_MinOfMaxPWM; // indication if all BL-controllers run on full power |
86 | extern u8 ErrorCheck_BL_MinOfMaxPWM; |
84 | extern u32 FC_I2C_ErrorConter; |
87 | extern u32 FC_I2C_ErrorConter; |
85 | extern u8 FromFC_VarioCharacter; |
88 | extern u8 FromFC_VarioCharacter; |
86 | extern u8 Logging_FCStatusFlags1,Logging_FCStatusFlags2; |
89 | extern u8 Logging_FCStatusFlags1,Logging_FCStatusFlags2; |
87 | extern s16 POI_KameraNick; |
90 | extern s16 POI_KameraNick; |
- | 91 | extern u8 NC_To_FC_Flags, NC_To_FC_Autostart; |
|
88 | extern u8 NC_To_FC_Flags, NC_To_FC_Autostart; |
92 | |
89 | typedef struct |
93 | typedef struct |
90 | { |
94 | { |
91 | u8 Command; |
95 | u8 Command; |
92 | s16 AngleNick; // NickAngle in 0.1 deg |
96 | s16 AngleNick; // NickAngle in 0.1 deg |
Line 162... | Line 166... | ||
162 | { |
166 | { |
163 | u8 Current; |
167 | u8 Current; |
164 | u8 Temperature; |
168 | u8 Temperature; |
165 | u8 MaxPWM; |
169 | u8 MaxPWM; |
166 | u8 State; |
170 | u8 State; |
- | 171 | u8 NotReadyCnt; |
|
167 | } __attribute__((packed)) Motor_t; |
172 | } __attribute__((packed)) Motor_t; |
Line 168... | Line 173... | ||
168 | 173 | ||
Line 169... | Line 174... | ||
169 | extern Motor_t Motor[12]; |
174 | extern Motor_t Motor[12]; |