mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-02 03:11:35 +08:00
QURT px4_layer: getpid can shut up
This commit is contained in:
@@ -340,7 +340,10 @@ unsigned long px4_getpid()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef __PX4_QURT
|
||||||
|
// XXX This doesn't seem to be working on QURT
|
||||||
PX4_ERR("px4_getpid() called from unknown thread context!");
|
PX4_ERR("px4_getpid() called from unknown thread context!");
|
||||||
|
#endif
|
||||||
return ~0;
|
return ~0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user