Updates for AlienFlightNG Whoop V2.0

This commit is contained in:
Michael Jakob 2017-08-23 22:55:38 +02:00
parent 21eedd80a7
commit 017967950f
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