diff options
| author | liruncong <[email protected]> | 2018-12-05 20:35:17 +0800 |
|---|---|---|
| committer | liruncong <[email protected]> | 2018-12-05 20:35:17 +0800 |
| commit | 8200137327316c9fb5791d4acc64fa09bcf29d18 (patch) | |
| tree | c08efacbaafa9c81aae1e41f7647f48510fc7667 /libcpu | |
| parent | 2635cc1694035cbf992cee871b5a8ed5b68cdf84 (diff) | |
[libcpu/arm/AT9ASAM7X]rt_hw_interrupt_install函数name参数增加const限定
Diffstat (limited to 'libcpu')
| -rw-r--r-- | libcpu/arm/AT91SAM7X/interrupt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpu/arm/AT91SAM7X/interrupt.c b/libcpu/arm/AT91SAM7X/interrupt.c index 62d487403d..0c37f63ada 100644 --- a/libcpu/arm/AT91SAM7X/interrupt.c +++ b/libcpu/arm/AT91SAM7X/interrupt.c @@ -91,7 +91,7 @@ void rt_hw_interrupt_umask(int vector) * @return the 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; if(vector >= 0 && vector < MAX_HANDLERS) |
