irq_offload: Remove ifdef from the api
Removed #ifdef that guarded irq_offload API. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
parent
fb6a69ec81
commit
a1829cf235
1 changed files with 1 additions and 3 deletions
|
@ -15,8 +15,7 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_IRQ_OFFLOAD
|
typedef void (*irq_offload_routine_t)(const void *parameter);
|
||||||
typedef void (*irq_offload_routine_t)(const void *parameter);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Run a function in interrupt context
|
* @brief Run a function in interrupt context
|
||||||
|
@ -31,7 +30,6 @@ extern "C" {
|
||||||
* interrupt
|
* interrupt
|
||||||
*/
|
*/
|
||||||
void irq_offload(irq_offload_routine_t routine, const void *parameter);
|
void irq_offload(irq_offload_routine_t routine, const void *parameter);
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue