Преглед изворни кода

[libcpu/arm/lpc214x]rt_hw_interrupt_install函数name参数增加const限定

liruncong пре 6 година
родитељ
комит
5321f202c4
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      libcpu/arm/lpc214x/cpuport.c

+ 1 - 1
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;