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

Merge pull request #3947 from AlienWiiBF/AFNG_Whoop

Updates for AlienFlightNG Whoop V2.0
This commit is contained in:
MJ666 2017-08-24 21:34:43 +02:00 committed by GitHub
commit 52ed1ca6cc
2 changed files with 3 additions and 2 deletions

View file

@ -90,7 +90,7 @@ void targetConfiguration(void)
rxConfigMutable()->serialrx_provider = SERIALRX_SPEKTRUM2048;
rxConfigMutable()->spektrum_sat_bind = 5;
rxConfigMutable()->spektrum_sat_bind_autoreset = 1;
voltageSensorADCConfigMutable(VOLTAGE_SENSOR_ADC_VBAT)->vbatscale = VBAT_SCALE;
parseRcChannels("TAER1234", rxConfigMutable());
} else {
rxConfigMutable()->serialrx_provider = SERIALRX_SBUS;
rxConfigMutable()->sbus_inversion = 0;
@ -99,6 +99,7 @@ void targetConfiguration(void)
featureSet(FEATURE_TELEMETRY);
beeperDevConfigMutable()->isOpenDrain = false;
beeperDevConfigMutable()->isInverted = true;
parseRcChannels("AETR1234", rxConfigMutable());
}
if (hardwareMotorType == MOTOR_BRUSHED) {

View file

@ -110,6 +110,7 @@
#define ADC_INSTANCE ADC2
#define VBAT_ADC_PIN PA4
#define VBAT_SCALE_DEFAULT 20
// LED strip configuration.
#define LED_STRIP
@ -119,7 +120,6 @@
#define DEFAULT_FEATURES FEATURE_MOTOR_STOP
#define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL
#define SERIALRX_UART SERIAL_PORT_USART2
#define RX_CHANNELS_TAER
#define USE_SERIAL_4WAY_BLHELI_INTERFACE