Skip to content

Commit

Permalink
Update BEFH-BETAFPVG473 (#424)
Browse files Browse the repository at this point in the history
  • Loading branch information
liyouluo authored May 15, 2024
1 parent 45995c5 commit b3a82fa
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions configs/BETAFPVG473/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@
#define SPI3_SDO_PIN PB5
#define ADC_VBAT_PIN PA0
#define ADC_CURR_PIN PA1
#define BARO_CS_PIN PC6
#define FLASH_CS_PIN PB9
#define MAX7456_SPI_CS_PIN PB12
#define GYRO_1_EXTI_PIN PC4
Expand All @@ -82,23 +81,25 @@

#define ADC1_DMA_OPT 6

#define SPI1_TX_DMA_OPT 7
#define SPI2_TX_DMA_OPT 8
#define SPI1_TX_DMA_OPT 14
#define SPI2_TX_DMA_OPT 10
#define SPI3_TX_DMA_OPT 9
#define SPI1_RX_DMA_OPT 10
#define SPI1_RX_DMA_OPT 13
#define SPI2_RX_DMA_OPT 11
#define SPI3_RX_DMA_OPT 12
#define SPI3_RX_DMA_OPT 8

#define SERIALRX_UART SERIAL_PORT_USART2
#define VTX_SMARTAUDIO_UART SERIAL_PORT_USART2
#define SERIALRX_UART SERIAL_PORT_USART3

#define BARO_I2C_INSTANCE (I2CDEV_1)
#define SERIALRX_PROVIDER SERIALRX_CRSF
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
//TODO #define DSHOT_IDLE_VALUE 450
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_OFF
#define DEFAULT_DSHOT_BITBANG DSHOT_BITBANG_OFF
#define DEFAULT_DSHOT_BITBANG DSHOT_BITBANG_ON
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC
#define DEFAULT_CURRENT_METER_SCALE 750
#define BEEPER_INVERTED
#define MAX7456_SPI_INSTANCE SPI2
#define FLASH_SPI_INSTANCE SPI3
Expand Down

0 comments on commit b3a82fa

Please sign in to comment.