mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 04:15:44 +03:00
fix for pwm preload (not possible with this firmware, reported by marcin)
added gimbal flags to mixer. allows making gimbal tilt only or pantilt or disabling all pan/tilt by aux3/4 git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@149 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
This commit is contained in:
parent
8f80611324
commit
f3a4e9f731
7 changed files with 2483 additions and 2441 deletions
|
@ -13,7 +13,7 @@ config_t cfg;
|
|||
const char rcChannelLetters[] = "AERT1234";
|
||||
|
||||
static uint32_t enabledSensors = 0;
|
||||
static uint8_t checkNewConf = 12;
|
||||
static uint8_t checkNewConf = 13;
|
||||
|
||||
void parseRcChannels(const char *input)
|
||||
{
|
||||
|
@ -149,6 +149,7 @@ void checkFirstTime(bool reset)
|
|||
// gimbal
|
||||
cfg.gimbal_pitch_gain = 10;
|
||||
cfg.gimbal_roll_gain = 10;
|
||||
cfg.gimbal_flags = GIMBAL_NORMAL;
|
||||
cfg.gimbal_pitch_min = 1020;
|
||||
cfg.gimbal_pitch_max = 2000;
|
||||
cfg.gimbal_pitch_mid = 1500;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue