mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 11:53:34 +08:00
UAVCAN: Give the firmware upgrade thread a human-readable name
This commit is contained in:
@@ -273,6 +273,8 @@ int UavcanServers::init()
|
|||||||
__attribute__((optimize("-O0")))
|
__attribute__((optimize("-O0")))
|
||||||
pthread_addr_t UavcanServers::run(pthread_addr_t)
|
pthread_addr_t UavcanServers::run(pthread_addr_t)
|
||||||
{
|
{
|
||||||
|
prctl(PR_SET_NAME, "uavcan fw srv", 0);
|
||||||
|
|
||||||
Lock lock(_subnode_mutex);
|
Lock lock(_subnode_mutex);
|
||||||
|
|
||||||
while (1) {
|
while (1) {
|
||||||
|
|||||||
Reference in New Issue
Block a user