Преглед на файлове

[include]rt_hw_interrupt_install函数name参数增加const限定

liruncong преди 6 години
родител
ревизия
fe24d089f8
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      include/rthw.h

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