diff options
| author | liruncong <[email protected]> | 2018-12-05 20:34:19 +0800 |
|---|---|---|
| committer | liruncong <[email protected]> | 2018-12-05 20:34:19 +0800 |
| commit | fe24d089f857ae7309cfe866edc1b7e23ff25dc8 (patch) | |
| tree | d216ebe9c118db3a95ea43954f39452e985b57ba | |
| parent | 07fce42479f806fa583b647366e26a533bad7820 (diff) | |
[include]rt_hw_interrupt_install函数name参数增加const限定
| -rw-r--r-- | include/rthw.h | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |
