[bsp/hifive1]rt_hw_interrupt_install函数name参数增加const限定
This commit is contained in:
parent
b4df57d1d2
commit
fedc573768
|
@ -110,7 +110,7 @@ void rt_hw_interrupt_ack(rt_uint32_t fiq_irq, rt_uint32_t id)
|
||||||
* @return old handler
|
* @return old handler
|
||||||
*/
|
*/
|
||||||
rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t 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;
|
rt_isr_handler_t old_handler = RT_NULL;
|
||||||
|
|
||||||
|
|
|
@ -32,6 +32,6 @@ void rt_hw_interrupt_init(void);
|
||||||
rt_uint32_t rt_hw_interrupt_get_active(rt_uint32_t fiq_irq);
|
rt_uint32_t rt_hw_interrupt_get_active(rt_uint32_t fiq_irq);
|
||||||
void rt_hw_interrupt_ack(rt_uint32_t fiq_irq, rt_uint32_t id);
|
void rt_hw_interrupt_ack(rt_uint32_t fiq_irq, rt_uint32_t id);
|
||||||
rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t 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);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue