mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-26 03:23:35 +08:00
platform Updates for NuttX 9.1.0-
This commit is contained in:
committed by
Daniel Agar
parent
97c17d5d4a
commit
b32aab2d0f
@@ -89,7 +89,7 @@ int px4_task_delete(int pid)
|
||||
const char *px4_get_taskname(void)
|
||||
{
|
||||
#if CONFIG_TASK_NAME_SIZE > 0
|
||||
FAR struct tcb_s *thisproc = sched_self();
|
||||
FAR struct tcb_s *thisproc = nxsched_self();
|
||||
|
||||
return thisproc->name;
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user