mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
c997bf0f52
It's better to save one argument by returning pid directly. This change also follow the convention of task_create. BTW, it is reasonable to adjust the function prototype a little bit from both implementation and consistency since task_spawn is NuttX specific API. Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> Change-Id: Id74f4dd1ef26dfd8f7c473684cf1a45fbeee13cf