diff --git a/configs/ORQAF7/config.h b/configs/ORQAF7/config.h index 5f81cbf6..3caabae1 100644 --- a/configs/ORQAF7/config.h +++ b/configs/ORQAF7/config.h @@ -36,6 +36,10 @@ #define USE_FLASH_W25Q128FV #define USE_MAX7456 +#ifndef USE_SERIALRX_GHST +#define USE_SERIALRX_GHST +#endif + #define BEEPER_PIN PA4 #define MOTOR1_PIN PC8 #define MOTOR2_PIN PC9 @@ -104,19 +108,16 @@ TIMER_PIN_MAP( 4, PA15, 1, 0) \ TIMER_PIN_MAP( 5, PB3, 1, 0) -#define DEFAULT_VOLTAGE_METER_SCALE 112 -#define DEFAULT_VOLTAGE_METER_DIVIDER 1 +#define DEFAULT_VOLTAGE_METER_SCALE 112 +#define DEFAULT_VOLTAGE_METER_DIVIDER 1 #define DEFAULT_VOLTAGE_METER_MULTIPLIER 12 -#define DEFAULT_CURRENT_METER_SCALE 108 -#define USE_SERIALRX_GHST -#define SERIALRX_UART SERIAL_PORT_USART2 -#define GPS_UART SERIAL_PORT_USART6 -#define BARO_I2C_INSTANCE (I2CDEV_1) -#define MAG_I2C_INSTANCE (I2CDEV_1) -#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH -#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC -#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC +#define DEFAULT_CURRENT_METER_SCALE 108 +#define SERIALRX_UART SERIAL_PORT_USART2 +#define GPS_UART SERIAL_PORT_USART6 +#define BARO_I2C_INSTANCE (I2CDEV_1) +#define MAG_I2C_INSTANCE (I2CDEV_1) +#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH +#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC +#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC #define USE_BEEPER -#define SYSTEM_HSE_MHZ 8 - - +#define SYSTEM_HSE_MHZ 8