summaryrefslogtreecommitdiff
path: root/libcpu
diff options
context:
space:
mode:
authorliruncong <[email protected]>2018-12-05 20:36:18 +0800
committerliruncong <[email protected]>2018-12-05 20:36:18 +0800
commit7be87217b5c99a09ba9e8e7f8ad7fe4044288ae3 (patch)
treecf1d62ad1f317768904b3267241e0817a6eb15e2 /libcpu
parent5321f202c44275095d2ff397bd13359ffb6632a8 (diff)
[libcpu/arm/lpc24xx]rt_hw_interrupt_install函数name参数增加const限定
Diffstat (limited to 'libcpu')
-rw-r--r--libcpu/arm/lpc24xx/interrupt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpu/arm/lpc24xx/interrupt.c b/libcpu/arm/lpc24xx/interrupt.c
index 64609ef06e..a855de1e11 100644
--- a/libcpu/arm/lpc24xx/interrupt.c
+++ b/libcpu/arm/lpc24xx/interrupt.c
@@ -83,7 +83,7 @@ void rt_hw_interrupt_umask(int vector)
* @return the 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;