Skip to content

Commit de4ba54

Browse files
committed
Add review suggested changes
1 parent 34ffb1b commit de4ba54

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

configs/ACCIF435ELITE/config.h

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@
5050
#define LED_STRIP_PIN PB3
5151

5252
// ACC/GYRO SPI 1
53-
#define USE_SPI_GYRO
5453
#define GYRO_1_EXTI_PIN PC4
5554
#define GYRO_1_CS_PIN PA4
5655
#define GYRO_1_SPI_INSTANCE SPI1
@@ -98,11 +97,11 @@
9897

9998
// TIMERS
10099
#define TIMER_PIN_MAPPING \
101-
TIMER_PIN_MAP( 0, PA9 , 1, 1) \
102-
TIMER_PIN_MAP( 1, PA8 , 1, 1) \
103-
TIMER_PIN_MAP( 2, PC9 , 1, 0) \
104-
TIMER_PIN_MAP( 3, PC8 , 1, 0) \
105-
TIMER_PIN_MAP( 4, PB3 , 1, 0) \
100+
TIMER_PIN_MAP( 0, PA9 , 1, 2) \
101+
TIMER_PIN_MAP( 1, PA8 , 1, 3) \
102+
TIMER_PIN_MAP( 2, PC9 , 1, 4) \
103+
TIMER_PIN_MAP( 3, PC8 , 1, 5) \
104+
TIMER_PIN_MAP( 4, PB3 , 1, 6) \
106105
TIMER_PIN_MAP( 5, PC5 , 1, -1)
107106

108107
// MOTORS PINOUT
@@ -116,7 +115,6 @@
116115
// BARO I2C
117116
#define BARO_I2C_INSTANCE I2CDEV_1
118117
#define MAG_I2C_INSTANCE I2CDEV_1
119-
#define USE_I2C_PULLUP
120118

121119
#define I2C1_SCL_PIN PB8
122120
#define I2C1_SDA_PIN PB9
@@ -131,4 +129,4 @@
131129
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC
132130
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC
133131
#define DEFAULT_VOLTAGE_METER_SCALE 113
134-
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON
132+
#define DEFAULT_DSHOT_BITBANG DSHOT_BITBANG_ON

0 commit comments

Comments
 (0)