Mavlink: allow to stop (compiling, working)

This commit is contained in:
Julian Oes 2014-02-13 20:54:10 +01:00
parent 346ae5b9f4
commit ef46cd5e90
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ MavlinkReceiver::handle_message(mavlink_message_t *msg)
usleep(50000);
/* terminate other threads and this thread */
thread_should_exit = true;
_mavlink->_task_should_exit = true;
} else {