File tree Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Original file line number Diff line number Diff line change 73
73
74
74
#define USE_EXTI
75
75
76
- #define USE_MULTI_GYRO
77
-
78
76
#define USE_ACC
79
77
#define USE_ACC_SPI_MPU6000
80
78
Original file line number Diff line number Diff line change 26
26
#ifndef SPRACINGF4EVO_REV
27
27
#define SPRACINGF4EVO_REV 2
28
28
#endif
29
- #ifdef SPRACINGF4EVODG
30
- #define USE_MULTI_GYRO
31
- #endif
32
29
33
30
#define USBD_PRODUCT_STRING "SP Racing F4 EVO"
34
31
43
40
#define USE_EXTI
44
41
#define USE_GYRO_EXTI
45
42
#define GYRO_1_EXTI_PIN PC13
46
- #ifdef USE_MULTI_GYRO
43
+ #ifdef SPRACINGF4EVODG
47
44
#define GYRO_2_EXTI_PIN PC5 // GYRO 2 / NC on prototype boards, but if it was it'd be here.
48
- #endif
49
45
50
- #ifndef SPRACINGF4EVODG
51
46
#define USE_MPU_DATA_READY_SIGNAL
52
47
#define ENSURE_MPU_DATA_READY_IS_LOW
53
48
#endif
62
57
#define USE_ACC
63
58
#define USE_ACC_SPI_MPU6500
64
59
65
- #ifndef USE_MULTI_GYRO
60
+ #ifndef SPRACINGF4EVODG
66
61
#define ACC_1_ALIGN CW0_DEG
67
62
#define GYRO_1_ALIGN CW0_DEG
68
63
#else
156
151
#define SDCARD_DMA_CHANNEL_TX DMA1_Stream4
157
152
#define SDCARD_DMA_CHANNEL 0
158
153
159
- #ifndef USE_MULTI_GYRO
154
+ #ifndef SPRACINGF4EVODG
160
155
#define GYRO_1_CS_PIN SPI1_NSS_PIN
161
156
#define GYRO_1_SPI_INSTANCE SPI1
162
157
#else
You can’t perform that action at this time.
0 commit comments