summaryrefslogtreecommitdiff
path: root/bsp
diff options
context:
space:
mode:
authorliruncong <[email protected]>2018-12-05 20:40:04 +0800
committerliruncong <[email protected]>2018-12-05 20:43:47 +0800
commiteb7edd94e7cde9b7fca7fcbbbf12321d3b73f6db (patch)
treebc29ff5208a0fb2287ca48b7cdeded2cec8bbcb9 /bsp
parent0d1fa98b27fc4d05fd02c53577faaa503b9b4ae5 (diff)
[bsp/asm9260]rt_hw_interrupt_install函数name参数增加const限定
Diffstat (limited to 'bsp')
-rw-r--r--bsp/at91sam9260/platform/interrupt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/at91sam9260/platform/interrupt.c b/bsp/at91sam9260/platform/interrupt.c
index b6231e3f03..7a83fca494 100644
--- a/bsp/at91sam9260/platform/interrupt.c
+++ b/bsp/at91sam9260/platform/interrupt.c
@@ -319,7 +319,7 @@ void rt_hw_interrupt_umask(int irq)
* @return old handler
*/
rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler,
- void *param, char *name)
+ void *param, const char *name)
{
rt_isr_handler_t old_handler = RT_NULL;