mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 17:25:20 +03:00
Remove volatile from gyroADC
This commit is contained in:
parent
45c4341442
commit
c5922d2422
2 changed files with 1 additions and 5 deletions
|
@ -66,11 +66,7 @@
|
|||
|
||||
gyro_t gyro; // gyro access functions
|
||||
|
||||
#if defined(GYRO_USES_SPI) && defined(USE_MPU_DATA_READY_SIGNAL)
|
||||
static volatile int32_t gyroADC[XYZ_AXIS_COUNT];
|
||||
#else
|
||||
static int32_t gyroADC[XYZ_AXIS_COUNT];
|
||||
#endif
|
||||
|
||||
static int32_t gyroZero[XYZ_AXIS_COUNT] = { 0, 0, 0 };
|
||||
static const gyroConfig_t *gyroConfig;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue