From 9678ee67e94483e68caf018a10486e411861a178 Mon Sep 17 00:00:00 2001 From: weety Date: Sun, 17 Mar 2013 11:24:07 +0800 Subject: [PATCH] Modified the interrupt function comments --- libcpu/arm/at91sam926x/interrupt.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/libcpu/arm/at91sam926x/interrupt.c b/libcpu/arm/at91sam926x/interrupt.c index bcf5fe93d1..206444b3aa 100755 --- a/libcpu/arm/at91sam926x/interrupt.c +++ b/libcpu/arm/at91sam926x/interrupt.c @@ -305,10 +305,12 @@ void rt_hw_interrupt_umask(int irq) /** * This function will install a interrupt service routine to a interrupt. * @param vector the interrupt number - * @param new_handler the interrupt service routine to be installed - * @param old_handler the old interrupt service routine + * @param handler the interrupt service routine to be installed + * @param param the interrupt service function parameter + * @param name the interrupt name */ -void rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, void *param, char *name) +void rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, + void *param, char *name) { if(vector < MAX_HANDLERS) { -- GitLab