Skip to content

Commit

Permalink
MAVLink: remove never used _mavlink_link_termination_allowed
Browse files Browse the repository at this point in the history
  • Loading branch information
MaEtUgR committed May 28, 2024
1 parent 1206005 commit dfee9ca
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
4 changes: 0 additions & 4 deletions src/modules/mavlink/mavlink_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1963,10 +1963,6 @@ Mavlink::task_main(int argc, char *argv[])
break;
#endif

// case 'e':
// _mavlink_link_termination_allowed = true;
// break;

case 'm': {

int mode;
Expand Down
2 changes: 0 additions & 2 deletions src/modules/mavlink/mavlink_main.h
Original file line number Diff line number Diff line change
Expand Up @@ -597,8 +597,6 @@ class Mavlink final : public ModuleParams
*/
unsigned int _mavlink_param_queue_index{0};

bool _mavlink_link_termination_allowed{false};

char *_subscribe_to_stream{nullptr};
float _subscribe_to_stream_rate{0.0f}; ///< rate of stream to subscribe to (0=disable, -1=unlimited, -2=default)
bool _udp_initialised{false};
Expand Down

0 comments on commit dfee9ca

Please sign in to comment.