summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorliruncong <[email protected]>2018-12-05 20:34:19 +0800
committerliruncong <[email protected]>2018-12-05 20:34:19 +0800
commitfe24d089f857ae7309cfe866edc1b7e23ff25dc8 (patch)
treed216ebe9c118db3a95ea43954f39452e985b57ba /include
parent07fce42479f806fa583b647366e26a533bad7820 (diff)
[include]rt_hw_interrupt_install函数name参数增加const限定
Diffstat (limited to 'include')
-rw-r--r--include/rthw.h2
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();