From 7be87217b5c99a09ba9e8e7f8ad7fe4044288ae3 Mon Sep 17 00:00:00 2001 From: liruncong Date: Wed, 5 Dec 2018 20:36:18 +0800 Subject: [libcpu/arm/lpc24xx]rt_hw_interrupt_install函数name参数增加const限定 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libcpu/arm/lpc24xx/interrupt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcpu') 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; -- cgit v1.3.1