diff options
| author | weety <[email protected]> | 2013-03-18 16:42:29 +0800 |
|---|---|---|
| committer | weety <[email protected]> | 2013-03-19 11:25:46 +0800 |
| commit | 7917cf09e78636699ddea076d049324c9c303294 (patch) | |
| tree | e9db2dbeb89e835d853ebb4b6f124cbe9d6c92f4 /include/rthw.h | |
| parent | 9678ee67e94483e68caf018a10486e411861a178 (diff) | |
remain the old handler to keep forward compatibility
Diffstat (limited to 'include/rthw.h')
| -rw-r--r-- | include/rthw.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/rthw.h b/include/rthw.h index 808639c951..817b9f40f2 100644 --- a/include/rthw.h +++ b/include/rthw.h @@ -41,9 +41,10 @@ rt_uint8_t *rt_hw_stack_init(void *entry, void rt_hw_interrupt_init(void); void rt_hw_interrupt_mask(int vector); void rt_hw_interrupt_umask(int vector); -void rt_hw_interrupt_install(int vector, +rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, - void *param, char *name); + void *param, + char *name); void rt_hw_interrupt_handle(int vector); rt_base_t rt_hw_interrupt_disable(void); |
