mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-14 20:10:18 +03:00
Missed EXTI_CALLBACK_HANDLER_COUNT (not defined in F4 targets)
This commit is contained in:
parent
948f2c6362
commit
d20597997b
1 changed files with 4 additions and 0 deletions
|
@ -55,6 +55,10 @@ typedef struct extiCallbackHandlerConfig_s {
|
|||
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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue