Skip to content

Commit

Permalink
AP_DDS: use PONG_IN_SESSION_STATUS in status check
Browse files Browse the repository at this point in the history
Signed-off-by: Rhys Mainwaring <[email protected]>
  • Loading branch information
srmainwaring committed Oct 24, 2023
1 parent 8c99598 commit 38f5310
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/AP_DDS/AP_DDS_Client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ void AP_DDS_Client::main_loop(void)
update();

// check ping response
if (session.on_pong_flag == 1) {
if (session.on_pong_flag == PONG_IN_SESSION_STATUS) {
had_ping_reply = true;
}

Expand Down

0 comments on commit 38f5310

Please sign in to comment.