X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Farm%2Fdrv%2Fstepper_at91.c;h=2c2e193d1257604bd84e1eafb9d6f40ee4bbbd18;hb=32d1445272120a254d77ce8d1af1f527da7a2c17;hp=fa1b6470cf943bd25e35cc5437ceadcbc3ebffff;hpb=fe0a14d1434098bfd0780d06a2a7e55f27940d27;p=bertos.git diff --git a/bertos/cpu/arm/drv/stepper_at91.c b/bertos/cpu/arm/drv/stepper_at91.c index fa1b6470..2c2e193d 100644 --- a/bertos/cpu/arm/drv/stepper_at91.c +++ b/bertos/cpu/arm/drv/stepper_at91.c @@ -74,9 +74,9 @@ /* * Forward declaration for interrupt handler */ -static void stepper_tc0_irq(void); -static void stepper_tc1_irq(void); -static void stepper_tc2_irq(void); +static ISR_PROTO(stepper_tc0_irq); +static ISR_PROTO(stepper_tc1_irq); +static ISR_PROTO(stepper_tc2_irq); ///< Static array of timer counter struct for stepper. static struct TimerCounter stepper_timers[CONFIG_TC_STEPPER_MAX_NUM] = @@ -253,7 +253,7 @@ INLINE void stepper_tc_tio_irq(struct TimerCounter * t) /* * Interrupt handler for timer counter TCKL0 */ -static void ISR_FUNC stepper_tc0_irq(void) +DECLARE_ISR(stepper_tc0_irq) { /* * Warning: when we read the status_reg register, we reset it. @@ -277,7 +277,7 @@ static void ISR_FUNC stepper_tc0_irq(void) /* * Interrupt handler for timer counter TCKL1 */ -static void ISR_FUNC stepper_tc1_irq(void) +DECLARE_ISR(stepper_tc1_irq) { /* * Warning: when we read the status_reg register, we reset it. @@ -302,7 +302,7 @@ static void ISR_FUNC stepper_tc1_irq(void) /* * Interrupt handler for timer counter TCKL2 */ -static void ISR_FUNC stepper_tc2_irq(void) +DECLARE_ISR(stepper_tc2_irq) { /*