mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-28 07:40:36 +08:00
Fixed mavlink start / stop to ensure process is in a sane state once NSH return
This commit is contained in:
@@ -755,5 +755,7 @@ receive_start(int uart)
|
||||
|
||||
pthread_t thread;
|
||||
pthread_create(&thread, &receiveloop_attr, receive_thread, &uart);
|
||||
|
||||
pthread_attr_destroy(&receiveloop_attr);
|
||||
return thread;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user