diff --git a/configs/FOXEERH743V2/config.h b/configs/FOXEERH743V2/config.h index 52b473c7..10ed780f 100644 --- a/configs/FOXEERH743V2/config.h +++ b/configs/FOXEERH743V2/config.h @@ -116,11 +116,10 @@ #define SERIALRX_UART SERIAL_PORT_USART1 -// set align_mag = CW180 -// set mag_align_yaw = 1800 +#define MAG_ALIGN CW180_DEG +#define MAG_ALIGN_YAW 1800 #define MAG_I2C_INSTANCE (I2CDEV_1) #define BARO_I2C_INSTANCE (I2CDEV_1) -#define SERIALRX_PROVIDER SBUS #define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH //TODO #define MOTOR_PWM_PROTOCOL DSHOT600 #define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC @@ -131,5 +130,5 @@ #define FLASH_SPI_INSTANCE SPI3 #define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI2 -#define GYRO_1_ALIGN CW270 +#define GYRO_1_ALIGN CW270_DEG #define GYRO_1_ALIGN_YAW 1800