diff options
author | Julian Oes <julian@oes.ch> | 2014-02-13 20:54:10 +0100 |
---|---|---|
committer | Julian Oes <julian@oes.ch> | 2014-02-13 20:54:10 +0100 |
commit | ef46cd5e909115c8c208c409fcded0dd02037d5e (patch) | |
tree | a8758192f3ae4257f1b5da797f61e9882ab5a7f7 /src/modules/mavlink | |
parent | 346ae5b9f4fc2da13e6d890521f48768b6b6e8c2 (diff) | |
download | px4-firmware-ef46cd5e909115c8c208c409fcded0dd02037d5e.tar.gz px4-firmware-ef46cd5e909115c8c208c409fcded0dd02037d5e.tar.bz2 px4-firmware-ef46cd5e909115c8c208c409fcded0dd02037d5e.zip |
Mavlink: allow to stop (compiling, working)
Diffstat (limited to 'src/modules/mavlink')
-rw-r--r-- | src/modules/mavlink/mavlink_receiver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/mavlink/mavlink_receiver.cpp b/src/modules/mavlink/mavlink_receiver.cpp index 16a1b9aff..44fff2416 100644 --- a/src/modules/mavlink/mavlink_receiver.cpp +++ b/src/modules/mavlink/mavlink_receiver.cpp @@ -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 { |