mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-17 03:07:35 +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;
|
||||
|
||||
@@ -309,6 +309,6 @@ private:
|
||||
/**
|
||||
* Main mavlink task.
|
||||
*/
|
||||
int task_main(int argc, char *argv[]) __attribute__((noreturn));
|
||||
int task_main(int argc, char *argv[]);
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user