Skip to content

Commit

Permalink
terminate properly
Browse files Browse the repository at this point in the history
  • Loading branch information
Consti10 committed Oct 27, 2023
1 parent 2bfce26 commit 41b571c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/telemetry/MavlinkTelemetry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ bool MavlinkTelemetry::change_manual_tcp_ip(QString ip)

void MavlinkTelemetry::send_heartbeat_loop()
{
while(true){
while(m_heartbeat_thread_run){
//qDebug()<<"send_heartbeat_loop";
std::this_thread::sleep_for(std::chrono::milliseconds(1000));
perform_connection_management();
Expand Down

0 comments on commit 41b571c

Please sign in to comment.