1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-15 04:15:44 +03:00

More cleanup of MPU driver code. Support MPU INT on CC3D and Naze32

Rev6.

MPU6050 Correction From merge
This commit is contained in:
Dominic Clifton 2015-10-15 23:03:11 +01:00 committed by borisbstyle
parent 2c9d7450ac
commit 4da387e93d
20 changed files with 201 additions and 216 deletions

View file

@ -36,10 +36,10 @@ void enableGPIOPowerUsageAndNoiseReductions(void);
// current crystal frequency - 8 or 12MHz
extern uint32_t hse_value;
typedef void extiCallbackHandler(void);
typedef void extiCallbackHandlerFunc(void);
void registerExti15_10_CallbackHandler(extiCallbackHandler *fn);
void unregisterExti15_10_CallbackHandler(extiCallbackHandler *fn);
void registerExtiCallbackHandler(IRQn_Type irqn, extiCallbackHandlerFunc *fn);
void unregisterExtiCallbackHandler(IRQn_Type irqn, extiCallbackHandlerFunc *fn);
extern uint32_t cachedRccCsrValue;