From 16ac022ac43915feea0653fb1f4aae170ffdc6e8 Mon Sep 17 00:00:00 2001 From: ThanYangFPV <74483959+ThanYangFPV@users.noreply.github.com> Date: Sat, 21 Dec 2024 03:52:58 +0800 Subject: [PATCH] DAKEFPVF435 modify ADC and GYRO_1_ALIGN (#647) * DAKEFPVF435 modify ADC and GYRO_1_ALIGN * Update configs/DAKEFPVF435/config.h --------- Co-authored-by: Mark Haslinghuis --- configs/DAKEFPVF435/config.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/configs/DAKEFPVF435/config.h b/configs/DAKEFPVF435/config.h index 42b84455..579b0196 100644 --- a/configs/DAKEFPVF435/config.h +++ b/configs/DAKEFPVF435/config.h @@ -98,9 +98,8 @@ TIMER_PIN_MAP( 10,PH2 , 1, -1) \ TIMER_PIN_MAP( 11,PC5 , 1, -1) -#define ADC2_DMA_OPT 9 +#define ADC1_DMA_OPT 9 -#define ADC_INSTANCE ADC2 #define FLASH_SPI_INSTANCE SPI3 #define MAX7456_SPI_INSTANCE SPI2 @@ -119,8 +118,7 @@ #define PINIO2_BOX 41 #define GYRO_1_SPI_INSTANCE SPI1 -#define GYRO_1_ALIGN CW180_DEG - +#define GYRO_1_ALIGN CW90_DEG #define SERIALRX_UART SERIAL_PORT_UART5 #define ESC_SENSOR_UART SERIAL_PORT_USART3