Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 2725 → Rev 2726

/trunk/uart.h
72,13 → 72,14
extern struct str_ExternControl ExternControl;
*/
 
#define EC_VALID 0x01 // only valid if this is 1
#define EC_GAS_ADD 0x02 // if 1 -> use the GAS Value not as MAX
#define EC_USE_SWITCH 0x20 // if 1 -> use the Switches for further control
#define EC_IGNORE_RC_STICK 0x40 // direct control (do nor add to RC-Stick)
#define EC_IGNORE_RC_LOST 0x80 // if 1 -> for Flying without RC-Control
#define EC_VALID 0x01 // only valid if this is 1
#define EC_GAS_ADD 0x02 // if 1 -> use the GAS Value not as MAX
#define EC_ONLY_IF_MOTOR_OFF 0x10 // use these Stick Positions only if the motors are not running -> Claibrate etc.
#define EC_USE_SWITCH 0x20 // if 1 -> use the Switches for further control
#define EC_IGNORE_RC_STICK 0x40 // direct control (do nor add to RC-Stick)
#define EC_IGNORE_RC_LOST 0x80 // if 1 -> for Flying without RC-Control
 
// defines for ExternalControl.Switches -> control GPS Modes etc. if(Config & EC_USE_SWITCH)
// defines for ExternalControl.Switches -> control GPS Modes etc. -> Attention: only if(Config & EC_USE_SWITCH)
#define EC2_PH 0x01 // GPS-Mode: PH
#define EC2_CH 0x02 // GPS-Mode: CH
#define EC2_CAREFREE 0x10 //