From a826bbb566363aa42edaa497d6d10f50cbfb257e Mon Sep 17 00:00:00 2001 From: ot0tot <36753790+ot0tot@users.noreply.github.com> Date: Mon, 15 Apr 2024 12:27:20 -0400 Subject: [PATCH] Fix DMA conflicts on JHEF745 target (#387) --- configs/JHEF745/config.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/configs/JHEF745/config.h b/configs/JHEF745/config.h index 1ab0f8d2..d5ff3355 100644 --- a/configs/JHEF745/config.h +++ b/configs/JHEF745/config.h @@ -89,7 +89,7 @@ TIMER_PIN_MAP( 0, PE13, 1, 1) \ TIMER_PIN_MAP( 1, PB0 , 2, 0) \ TIMER_PIN_MAP( 2, PB1 , 2, 0) \ - TIMER_PIN_MAP( 3, PE9 , 1, 2) \ + TIMER_PIN_MAP( 3, PE9 , 1, 0) \ TIMER_PIN_MAP( 4, PE11, 1, 1) \ TIMER_PIN_MAP( 5, PC9 , 2, 0) \ TIMER_PIN_MAP( 6, PA3 , 2, 0) \ @@ -98,6 +98,7 @@ #define ADC1_DMA_OPT 1 +#define DEFAULT_DSHOT_BITBANG DSHOT_BITBANG_ON #define MAG_I2C_INSTANCE (I2CDEV_1) #define BARO_I2C_INSTANCE (I2CDEV_1) @@ -107,11 +108,9 @@ #define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC #define DEFAULT_CURRENT_METER_SCALE 275 #define BEEPER_INVERTED -//TODO #define OSD_VBAT_POS 14570 -//TODO #define OSD_AH_SBAR_POS 14542 -//TODO #define OSD_AH_POS 14414 + #define MAX7456_SPI_INSTANCE SPI2 -#define DASHBOARD_I2C_INSTANCE (I2CDEV_1) + #define FLASH_SPI_INSTANCE SPI1 #define GYRO_1_SPI_INSTANCE SPI4 #define GYRO_1_ALIGN CW270_DEG