mavlink: task_main noreturn attribute removed

This commit is contained in:
Anton Babushkin
2014-03-11 16:20:37 +04:00
parent 0ad38a7323
commit 35b8d00e17
2 changed files with 1 additions and 4 deletions
-3
View File
@@ -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;
+1 -1
View File
@@ -309,6 +309,6 @@ private:
/**
* Main mavlink task.
*/
int task_main(int argc, char *argv[]) __attribute__((noreturn));
int task_main(int argc, char *argv[]);
};