diff --git a/arch/arm/src/armv7-m/arm_systick.c b/arch/arm/src/armv7-m/arm_systick.c index 9bc636f32f423..debfa7bf66564 100644 --- a/arch/arm/src/armv7-m/arm_systick.c +++ b/arch/arm/src/armv7-m/arm_systick.c @@ -302,10 +302,9 @@ struct timer_lowerhalf_s *systick_initialize(bool coreclk, } #ifdef CONFIG_ARMV7M_SYSTICK_IRQ_THREAD - irq_attach_thread(NVIC_IRQ_SYSTICK, systick_isr_handle, + irq_attach_wqueue(NVIC_IRQ_SYSTICK, systick_isr_handle, systick_interrupt, lower, - CONFIG_ARMV7M_SYSTICK_IRQ_THREAD_PRIORITY, - CONFIG_ARMV7M_SYSTICK_IRQ_THREAD_STACK_SIZE); + CONFIG_ARMV7M_SYSTICK_IRQ_THREAD_PRIORITY); #else irq_attach(NVIC_IRQ_SYSTICK, systick_interrupt, lower); #endif