diff options
| author | yangjie11 <[email protected]> | 2018-12-13 09:22:12 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-12-13 09:22:12 +0800 |
| commit | 2b98f4720c827ae1850df78299f6b273d568c8c7 (patch) | |
| tree | 142d000d78e3b874b7bdd2313388b00a3ddf1000 /include | |
| parent | 1a7f95f92b84b0a3acd6243cb2a658b4f9b6f1ac (diff) | |
| parent | dcf7bce2cc5d04bcb006b84a27a5498f42268184 (diff) | |
Merge pull request #2 from RT-Thread/master
更新
Diffstat (limited to 'include')
| -rw-r--r-- | include/rtdef.h | 2 | ||||
| -rw-r--r-- | include/rthw.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/rtdef.h b/include/rtdef.h index 253ec36968..6d5263ef62 100644 --- a/include/rtdef.h +++ b/include/rtdef.h @@ -500,7 +500,7 @@ typedef siginfo_t rt_siginfo_t; #define RT_THREAD_CTRL_CLOSE 0x01 /**< Close thread. */ #define RT_THREAD_CTRL_CHANGE_PRIORITY 0x02 /**< Change thread priority. */ #define RT_THREAD_CTRL_INFO 0x03 /**< Get thread information. */ -#define RT_THREAD_CTRL_BIND_CPU 0x03 /**< Set thread bind cpu. */ +#define RT_THREAD_CTRL_BIND_CPU 0x04 /**< Set thread bind cpu. */ #ifdef RT_USING_SMP diff --git a/include/rthw.h b/include/rthw.h index 3fa0ba301c..dee10b0bee 100644 --- a/include/rthw.h +++ b/include/rthw.h @@ -92,7 +92,7 @@ void rt_hw_interrupt_umask(int vector); rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, void *param, - char *name); + const char *name); #ifdef RT_USING_SMP rt_base_t rt_hw_local_irq_disable(); |
