tty use mq
This commit is contained in:
@@ -723,7 +723,7 @@ rt_object_t rt_object_find(const char *name, rt_uint8_t type)
|
||||
};
|
||||
|
||||
/* parameter check */
|
||||
if (name == RT_NULL || rt_object_get_information(type) == RT_NULL)
|
||||
if (name == RT_NULL || rt_object_get_information((enum rt_object_class_type)type) == RT_NULL)
|
||||
return RT_NULL;
|
||||
|
||||
/* which is invoke in interrupt status */
|
||||
|
||||
@@ -481,4 +481,6 @@ void rt_scheduler_stack_check(struct rt_thread *thread)
|
||||
#endif /* ARCH_CPU_STACK_GROWS_UPWARD */
|
||||
}
|
||||
|
||||
#endif /* RT_USING_OVERFLOW_CHECK */
|
||||
#endif /* RT_USING_OVERFLOW_CHECK */
|
||||
|
||||
|
||||
|
||||
@@ -720,4 +720,5 @@ rt_err_t rt_sched_thread_bind_cpu(struct rt_thread *thread, int cpu)
|
||||
}
|
||||
|
||||
/**@}*/
|
||||
/**@endcond*/
|
||||
/**@endcond*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user