Skip to content

Commit

Permalink
Fix ORQAF7 - gate GHST RX protocol (betaflight#598)
Browse files Browse the repository at this point in the history
* Fix ORQAF7 - remove RX protocol

* Board has SPI GHST receiver
  • Loading branch information
haslinghuis authored Oct 23, 2024
1 parent 56e8ba4 commit 772f2fb
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions configs/ORQAF7/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

0 comments on commit 772f2fb

Please sign in to comment.