AlienFlight fixes

This commit is contained in:
Michael Jakob 2016-06-11 00:46:33 +02:00
parent 592fa144b6
commit c2165a5253
2 changed files with 3 additions and 2 deletions

View File

@ -652,6 +652,7 @@ static void resetConf(void)
masterConfig.escAndServoConfig.minthrottle = 1000;
masterConfig.escAndServoConfig.maxthrottle = 2000;
masterConfig.motor_pwm_rate = 32000;
masterConfig.motor_pwm_protocol = PWM_TYPE_BRUSHED;
currentProfile->pidProfile.pidController = 2;
masterConfig.failsafeConfig.failsafe_delay = 2;
masterConfig.failsafeConfig.failsafe_off_delay = 0;

View File

@ -170,10 +170,10 @@
#define USE_SERIAL_4WAY_BLHELI_INTERFACE
// alternative defaults for AlienWii32 F1 target
// alternative defaults for AlienFlight F1 target
#ifdef ALIENFLIGHT
#undef TARGET_BOARD_IDENTIFIER
#define TARGET_BOARD_IDENTIFIER "AWF1" // AlienFlight F1.
#define TARGET_BOARD_IDENTIFIER "AFF1" // AlienFlight F1.
#undef BOARD_HAS_VOLTAGE_DIVIDER
#define ALIENFLIGHT
#define DEFAULT_FEATURES (FEATURE_RX_SERIAL | FEATURE_MOTOR_STOP)