1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 14:25:20 +03:00

adding untested (and needing work) fixedwing althold implementation.

see comments in code for things to fix. added new variable to cli, fixedwing_althold_dir (though its value isn't really clear, I think it should always be positive since servo direction mix is done later).
This commit is contained in:
dongie 2014-01-06 21:38:36 +09:00
parent 1dea496fd5
commit 9a7ff04422
5 changed files with 43 additions and 22 deletions

View file

@ -13,7 +13,7 @@ master_t mcfg; // master config struct with data independent from profiles
config_t cfg; // profile config struct
const char rcChannelLetters[] = "AERT1234";
static const uint8_t EEPROM_CONF_VERSION = 55;
static const uint8_t EEPROM_CONF_VERSION = 56;
static uint32_t enabledSensors = 0;
static void resetConf(void);
@ -197,6 +197,8 @@ static void resetConf(void)
mcfg.mincheck = 1100;
mcfg.maxcheck = 1900;
mcfg.retarded_arm = 0; // disable arm/disarm on roll left/right
mcfg.flaps_speed = 0;
mcfg.fixedwing_althold_dir = 1;
// Motor/ESC/Servo
mcfg.minthrottle = 1150;
mcfg.maxthrottle = 1850;