Skip to content

Commit

Permalink
core: fix timeout (#2421)
Browse files Browse the repository at this point in the history
I must have broken this in a previous refactor.
  • Loading branch information
julianoes authored Oct 7, 2024
1 parent 9a32ac8 commit 2362072
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mavsdk/core/mavsdk_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ class MavsdkImpl {
std::function<bool(mavlink_message_t&)> _intercept_incoming_messages_callback{nullptr};
std::function<bool(mavlink_message_t&)> _intercept_outgoing_messages_callback{nullptr};

std::atomic<double> _timeout_s{};
std::atomic<double> _timeout_s{DEFAULT_TIMEOUT_S};

static constexpr double HEARTBEAT_SEND_INTERVAL_S = 1.0;
CallEveryHandler::Cookie _heartbeat_send_cookie{};
Expand Down

0 comments on commit 2362072

Please sign in to comment.