mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 17:55:30 +03:00
4.4.1: Patch from master for undefined USE_ACC and USE_GYRO (#12385)
This commit is contained in:
parent
1e7b7868e9
commit
10cae48ed2
1 changed files with 10 additions and 0 deletions
|
@ -318,6 +318,16 @@
|
||||||
#define USE_SPI_GYRO
|
#define USE_SPI_GYRO
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef SIMULATOR_BUILD
|
||||||
|
#ifndef USE_ACC
|
||||||
|
#define USE_ACC
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef USE_GYRO
|
||||||
|
#define USE_GYRO
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// CX10 is a special case of SPI RX which requires XN297
|
// CX10 is a special case of SPI RX which requires XN297
|
||||||
#if defined(USE_RX_CX10)
|
#if defined(USE_RX_CX10)
|
||||||
#define USE_RX_XN297
|
#define USE_RX_XN297
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue