mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 04:15:44 +03:00
Removed unused EXTI_CALLBACK_HANDLER_COUNT
This commit is contained in:
parent
ac4732cd03
commit
4d03791cbc
29 changed files with 68 additions and 131 deletions
|
@ -48,22 +48,9 @@ void enableGPIOPowerUsageAndNoiseReductions(void);
|
|||
// current crystal frequency - 8 or 12MHz
|
||||
|
||||
extern uint32_t hse_value;
|
||||
extern uint32_t cachedRccCsrValue;
|
||||
|
||||
typedef void extiCallbackHandlerFunc(void);
|
||||
|
||||
typedef struct extiCallbackHandlerConfig_s {
|
||||
IRQn_Type irqn;
|
||||
extiCallbackHandlerFunc* fn;
|
||||
} extiCallbackHandlerConfig_t;
|
||||
|
||||
#ifndef EXTI_CALLBACK_HANDLER_COUNT
|
||||
#define EXTI_CALLBACK_HANDLER_COUNT 1
|
||||
#endif
|
||||
|
||||
extern extiCallbackHandlerConfig_t extiHandlerConfigs[EXTI_CALLBACK_HANDLER_COUNT];
|
||||
|
||||
void registerExtiCallbackHandler(IRQn_Type irqn, extiCallbackHandlerFunc *fn);
|
||||
void unregisterExtiCallbackHandler(IRQn_Type irqn, extiCallbackHandlerFunc *fn);
|
||||
|
||||
extern uint32_t cachedRccCsrValue;
|
||||
void registerExtiCallbackHandler(IRQn_Type irqn, extiCallbackHandlerFunc *fn);void unregisterExtiCallbackHandler(IRQn_Type irqn, extiCallbackHandlerFunc *fn);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue