[kernel] fix incompatible type error for "__rt_ffs()"

This commit is contained in:
tanek liang 2017-07-29 14:16:28 +08:00
parent d4de2c53e3
commit dcfaa9a909
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@
static rt_int16_t rt_scheduler_lock_nest; static rt_int16_t rt_scheduler_lock_nest;
extern volatile rt_uint8_t rt_interrupt_nest; extern volatile rt_uint8_t rt_interrupt_nest;
extern int __rt_ffs(int value); extern rt_ubase_t __rt_ffs(rt_ubase_t value);
rt_list_t rt_thread_priority_table[RT_THREAD_PRIORITY_MAX]; rt_list_t rt_thread_priority_table[RT_THREAD_PRIORITY_MAX];
struct rt_thread *rt_current_thread; struct rt_thread *rt_current_thread;