diff options
| author | liruncong <[email protected]> | 2018-12-05 20:40:30 +0800 |
|---|---|---|
| committer | liruncong <[email protected]> | 2018-12-05 20:43:51 +0800 |
| commit | 332dbfe0c3d94bc3ae26aa8e47744892e39ea31e (patch) | |
| tree | 42ea1764324808e2c03cc480e0f142e35d1504f3 | |
| parent | 577122573d41e699f302af0747a3964d0356fc83 (diff) | |
[bsp/fh8620]rt_hw_interrupt_install函数name参数增加const限定
| -rw-r--r-- | bsp/fh8620/drivers/interrupt.c | 2 | ||||
| -rw-r--r-- | bsp/fh8620/drivers/interrupt.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bsp/fh8620/drivers/interrupt.c b/bsp/fh8620/drivers/interrupt.c index a608b9a072..ab522fab70 100644 --- a/bsp/fh8620/drivers/interrupt.c +++ b/bsp/fh8620/drivers/interrupt.c @@ -169,7 +169,7 @@ void rt_hw_interrupt_umask(int irq) * @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; diff --git a/bsp/fh8620/drivers/interrupt.h b/bsp/fh8620/drivers/interrupt.h index 575b0a5442..fd4283b95c 100644 --- a/bsp/fh8620/drivers/interrupt.h +++ b/bsp/fh8620/drivers/interrupt.h @@ -35,6 +35,6 @@ void rt_hw_interrupt_init(void); void rt_hw_interrupt_mask(int irq); void rt_hw_interrupt_umask(int irq); 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 /* INTERRUPT_H_ */ |
