forked from Archive/PX4-Autopilot
mavlink: task_main noreturn attribute removed
This commit is contained in:
parent
0ad38a7323
commit
35b8d00e17
|
@ -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[]);
|
||||
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue