diff --git a/configs/SEQUREH7V2/config.h b/configs/SEQUREH7V2/config.h index de1710da..6fa9485b 100644 --- a/configs/SEQUREH7V2/config.h +++ b/configs/SEQUREH7V2/config.h @@ -18,13 +18,9 @@ * * If not, see . */ - - #pragma once - #define FC_TARGET_MCU STM32H743 - #define BOARD_NAME SEQUREH7V2 #define MANUFACTURER_ID SQRE @@ -126,31 +122,27 @@ #define TIMUP4_DMA_OPT 0 #define TIMUP8_DMA_OPT 0 -#define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON +#define ADC_INSTANCE ADC1 #define SERIALRX_UART SERIAL_PORT_USART1 #define GPS_UART SERIAL_PORT_USART6 #define MSP_DISPLAYPORT_UART SERIAL_PORT_USART7 #define ESC_SENSOR_UART SERIAL_PORT_USART8 -#define MAG_I2C_INSTANCE (I2CDEV_1) -#define BARO_I2C_INSTANCE (I2CDEV_1) +#define BARO_I2C_INSTANCE I2CDEV_1 +#define MAG_I2C_INSTANCE I2CDEV_1 -#define ADC_INSTANCE ADC1 +#define FLASH_SPI_INSTANCE SPI3 +#define GYRO_1_SPI_INSTANCE SPI2 +#define MAX7456_SPI_INSTANCE SPI1 +#define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON #define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH - #define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC #define DEFAULT_CURRENT_METER_SCALE 1052 - #define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC #define DEFAULT_VOLTAGE_METER_SCALE 110 #define BEEPER_INVERTED -#define MAX7456_SPI_INSTANCE SPI1 - -#define GYRO_1_SPI_INSTANCE SPI2 #define GYRO_1_ALIGN CW90_DEG - -#define FLASH_SPI_INSTANCE SPI3