tty use mq

This commit is contained in:
wmano
2025-09-03 22:00:08 +08:00
parent 5409d3a614
commit 7b764c34b9
14 changed files with 117 additions and 71 deletions
+1 -1
View File
@@ -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 */
+3 -1
View File
@@ -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 */
+2 -1
View File
@@ -720,4 +720,5 @@ rt_err_t rt_sched_thread_bind_cpu(struct rt_thread *thread, int cpu)
}
/**@}*/
/**@endcond*/
/**@endcond*/