Skip to content

Commit d937787

Browse files
authored
Fix Blitz F435 DMA requests (#659)
1 parent 9fa1e63 commit d937787

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

configs/IFLIGHT_BLITZ_F435/config.h

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@
101101
#define I2C2_SDA_PIN PH3
102102
#define MAG_I2C_INSTANCE I2CDEV_1
103103
#define BARO_I2C_INSTANCE I2CDEV_1
104-
#define DEFAULT_BARO_DPS310
105104

106105
// UART & VCP
107106
#define UART1_RX_PIN PA10
@@ -131,13 +130,13 @@
131130
#define PINIO1_PIN PC14
132131

133132
// TIMERS & DMA
134-
#define TIMER_PIN_MAPPING TIMER_PIN_MAP( 0, PA8, 1, 8 ) \
135-
TIMER_PIN_MAP( 1, PA3, 1, 9 ) \
136-
TIMER_PIN_MAP( 2, PB0, 2, 0 ) \
133+
#define TIMER_PIN_MAPPING TIMER_PIN_MAP( 0, PA8, 1, 0 ) \
134+
TIMER_PIN_MAP( 1, PA3, 1, -1 ) \
135+
TIMER_PIN_MAP( 2, PB0, 2, 1 ) \
137136
TIMER_PIN_MAP( 3, PB1, 2, 2 ) \
138-
TIMER_PIN_MAP( 4, PC8, 2, 1 ) \
139-
TIMER_PIN_MAP( 5, PC9, 2, 3 ) \
140-
TIMER_PIN_MAP( 6, PB6, 1, 11 ) \
141-
TIMER_PIN_MAP( 7, PB7, 1, 10 ) \
142-
TIMER_PIN_MAP( 8, PB11, 1, 12 ) \
143-
TIMER_PIN_MAP( 9, PB10, 1, 13 )
137+
TIMER_PIN_MAP( 4, PC8, 2, 3 ) \
138+
TIMER_PIN_MAP( 5, PC9, 2, 4 ) \
139+
TIMER_PIN_MAP( 6, PB6, 1, 5 ) \
140+
TIMER_PIN_MAP( 7, PB7, 1, 6 ) \
141+
TIMER_PIN_MAP( 8, PB11, 1, 7 ) \
142+
TIMER_PIN_MAP( 9, PB10, 1, 8 )

0 commit comments

Comments
 (0)