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:
Krzysztof Chruscinski 2021-04-19 11:35:44 +02:00 committed by Carles Cufí
parent fb6a69ec81
commit a1829cf235

View file

@ -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
}