From 221be0adc77730fe3041141ace106198e3f6dcf7 Mon Sep 17 00:00:00 2001 From: Kazuki Miyahara Date: Fri, 23 Oct 2020 16:49:37 +0900 Subject: [PATCH] fix copy-paste error in timesync --- livox_ros_driver/timesync/timesync.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/livox_ros_driver/timesync/timesync.cpp b/livox_ros_driver/timesync/timesync.cpp index eb038ab..b1e0bfc 100644 --- a/livox_ros_driver/timesync/timesync.cpp +++ b/livox_ros_driver/timesync/timesync.cpp @@ -98,7 +98,7 @@ void TimeSync::StopTimesync() { t_poll_state_ = nullptr; } - if (t_poll_state_) { + if (t_poll_data_) { t_poll_data_->join(); t_poll_data_ = nullptr; }