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