mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 17:25:20 +03:00
SPRACING32/NAZE32 - Add support for MPU6050 data ready interrupt.
Currently the interrupt handler is unused. Later it can be used as a potential source for watchdog checking or to syncronize the system around new acc/gyro data availability. Verified on Naze32 rev 3/4/5 and SPRacingF3 targets.
This commit is contained in:
parent
d3d9721e91
commit
c11c25514b
10 changed files with 157 additions and 20 deletions
|
@ -22,6 +22,7 @@
|
|||
#define NVIC_PRIO_USB NVIC_BUILD_PRIORITY(2, 0)
|
||||
#define NVIC_PRIO_USB_WUP NVIC_BUILD_PRIORITY(1, 0)
|
||||
#define NVIC_PRIO_SONAR_ECHO NVIC_BUILD_PRIORITY(0x0f, 0x0f)
|
||||
#define NVIC_PRIO_MPU_DATA_READY NVIC_BUILD_PRIORITY(0x0f, 0x0f)
|
||||
#define NVIC_PRIO_CALLBACK NVIC_BUILD_PRIORITY(0x0f, 0x0f)
|
||||
|
||||
// utility macros to join/split priority
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue