mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 04:45:24 +03:00
Missing defines. Note: requires SPI rework
This commit is contained in:
parent
0da446f351
commit
bb24508877
2 changed files with 6 additions and 4 deletions
|
@ -76,6 +76,7 @@ typedef enum {DISABLE = 0, ENABLE = !DISABLE} FunctionalState;
|
||||||
#define DMA_DATA_ZERO_INIT
|
#define DMA_DATA_ZERO_INIT
|
||||||
#define DMA_DATA
|
#define DMA_DATA
|
||||||
#define STATIC_DMA_DATA_AUTO static
|
#define STATIC_DMA_DATA_AUTO static
|
||||||
|
#define FAST_IRQ_HANDLER
|
||||||
|
|
||||||
#define DEFAULT_CPU_OVERCLOCK 0
|
#define DEFAULT_CPU_OVERCLOCK 0
|
||||||
#define TASK_GYROPID_DESIRED_PERIOD 125 // 125us = 8kHz
|
#define TASK_GYROPID_DESIRED_PERIOD 125 // 125us = 8kHz
|
||||||
|
|
|
@ -37,9 +37,10 @@
|
||||||
#define USE_UART0
|
#define USE_UART0
|
||||||
#define USE_UART1
|
#define USE_UART1
|
||||||
|
|
||||||
#define USE_SPI
|
//#define USE_SPI
|
||||||
#define USE_SPI_DEVICE_1
|
//#define USE_SPI_DEVICE_0
|
||||||
#define USE_SPI_DEVICE_2
|
//#define USE_SPI_DEVICE_1
|
||||||
|
#undef USE_SPI
|
||||||
|
|
||||||
#undef USE_SOFTSERIAL1
|
#undef USE_SOFTSERIAL1
|
||||||
#undef USE_SOFTSERIAL2
|
#undef USE_SOFTSERIAL2
|
||||||
|
@ -142,7 +143,7 @@
|
||||||
|
|
||||||
#define MAX7456_SPI_INSTANCE SPI1
|
#define MAX7456_SPI_INSTANCE SPI1
|
||||||
#define SDCARD_SPI_INSTANCE SPI1
|
#define SDCARD_SPI_INSTANCE SPI1
|
||||||
#define GYRO_1_SPI_INSTANCE SPI0
|
//#define GYRO_1_SPI_INSTANCE SPI0
|
||||||
|
|
||||||
#define USE_GYRO
|
#define USE_GYRO
|
||||||
#define USE_GYRO_SPI_ICM42688P
|
#define USE_GYRO_SPI_ICM42688P
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue