Skip to content

Commit

Permalink
Fix DMA conflicts on JHEF745 target (#387)
Browse files Browse the repository at this point in the history
  • Loading branch information
ot0tot authored Apr 15, 2024
1 parent 4cf8830 commit a826bbb
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions configs/JHEF745/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) \
Expand All @@ -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)
Expand All @@ -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

0 comments on commit a826bbb

Please sign in to comment.