From 5321f202c44275095d2ff397bd13359ffb6632a8 Mon Sep 17 00:00:00 2001 From: liruncong Date: Wed, 5 Dec 2018 20:35:58 +0800 Subject: [libcpu/arm/lpc214x]rt_hw_interrupt_install函数name参数增加const限定 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libcpu/arm/lpc214x/cpuport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcpu') diff --git a/libcpu/arm/lpc214x/cpuport.c b/libcpu/arm/lpc214x/cpuport.c index d5c1c5dce6..2543a5e0a9 100644 --- a/libcpu/arm/lpc214x/cpuport.c +++ b/libcpu/arm/lpc214x/cpuport.c @@ -137,7 +137,7 @@ void rt_hw_interrupt_umask(int vector) * @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; -- cgit v1.3.1