Skip to content

Commit

Permalink
[include/rtthread.h] rt_thread_close函数声明应当与RT_USING_HEAP无关
Browse files Browse the repository at this point in the history
  • Loading branch information
xmaowu authored and mysterywolf committed May 11, 2024
1 parent 634f505 commit f55187f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/rtthread.h
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ rt_thread_t rt_thread_create(const char *name,
rt_uint8_t priority,
rt_uint32_t tick);
rt_err_t rt_thread_delete(rt_thread_t thread);
rt_err_t rt_thread_close(rt_thread_t thread);
#endif /* RT_USING_HEAP */
rt_err_t rt_thread_close(rt_thread_t thread);
rt_thread_t rt_thread_self(void);
rt_thread_t rt_thread_find(char *name);
rt_err_t rt_thread_startup(rt_thread_t thread);
Expand Down

0 comments on commit f55187f

Please sign in to comment.