mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 16:55:36 +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
|
||||
#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
|
||||
#if defined(USE_RX_CX10)
|
||||
#define USE_RX_XN297
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue