mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-01 02:31:36 +08:00
mavlink: task_main noreturn attribute removed
This commit is contained in:
@@ -221,9 +221,6 @@ Mavlink::Mavlink() :
|
||||
|
||||
Mavlink::~Mavlink()
|
||||
{
|
||||
warnx("DESTRUCTOR");
|
||||
usleep(1000000);
|
||||
|
||||
if (_task_running) {
|
||||
/* task wakes up every 10ms or so at the longest */
|
||||
_task_should_exit = true;
|
||||
|
||||
Reference in New Issue
Block a user