Skip to content

Commit

Permalink
AP_DDS: add local variables to clarify arguments to uxr_ping_agent_se…
Browse files Browse the repository at this point in the history
…ssion

Signed-off-by: Rhys Mainwaring <[email protected]>
  • Loading branch information
srmainwaring committed Oct 24, 2023
1 parent 38f5310 commit a14e0af
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libraries/AP_DDS/AP_DDS_Client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,9 @@ void AP_DDS_Client::main_loop(void)
++num_pings_missed;
}

uxr_ping_agent_session(&session, 0, 1);
const int ping_agent_timeout_ms{0};
const uint8_t ping_agent_attempts{1};
uxr_ping_agent_session(&session, ping_agent_timeout_ms, ping_agent_attempts);

had_ping_reply = false;
}
Expand Down

0 comments on commit a14e0af

Please sign in to comment.