diff options
| author | Bernard Xiong <[email protected]> | 2018-12-06 06:04:11 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-12-06 06:04:11 +0800 |
| commit | 27cd03d4546a245d4d11d3b25eeda31b91815b69 (patch) | |
| tree | 1d1f87c7d5456b39547084b190889186d07a0336 /libcpu/ppc | |
| parent | 51261117788a179048567a8ba0179e3c88e7b44a (diff) | |
| parent | cd98097104a7321e3fe1bd5b05bf782b61c3bfc0 (diff) | |
Merge pull request #2036 from liruncong/const
rt_hw_interrupt_install函数name参数增加const限定
Diffstat (limited to 'libcpu/ppc')
| -rw-r--r-- | libcpu/ppc/ppc405/interrupt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpu/ppc/ppc405/interrupt.c b/libcpu/ppc/ppc405/interrupt.c index dc93dd67a3..27a528e2f0 100644 --- a/libcpu/ppc/ppc405/interrupt.c +++ b/libcpu/ppc/ppc405/interrupt.c @@ -79,7 +79,7 @@ void uic_interrupt(rt_uint32_t uic_base, int vec_base) } rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t new_handler, - void* param, char* name) + void* param, const char* name) { int intVal; rt_isr_handler_t old_handler; |
