From fe24d089f857ae7309cfe866edc1b7e23ff25dc8 Mon Sep 17 00:00:00 2001 From: liruncong Date: Wed, 5 Dec 2018 20:34:19 +0800 Subject: [include]rt_hw_interrupt_install函数name参数增加const限定 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/rthw.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/rthw.h b/include/rthw.h index 3fa0ba301c..dee10b0bee 100644 --- a/include/rthw.h +++ b/include/rthw.h @@ -92,7 +92,7 @@ void rt_hw_interrupt_umask(int vector); rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, void *param, - char *name); + const char *name); #ifdef RT_USING_SMP rt_base_t rt_hw_local_irq_disable(); -- cgit v1.3.1