1
0
Fork 0
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:
J Blackman 2023-02-18 12:19:56 +11:00 committed by GitHub
parent 1e7b7868e9
commit 10cae48ed2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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