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
|
@ -15,8 +15,7 @@
|
|||
extern "C" {
|
||||
#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
|
||||
|
@ -31,7 +30,6 @@ extern "C" {
|
|||
* interrupt
|
||||
*/
|
||||
void irq_offload(irq_offload_routine_t routine, const void *parameter);
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue