Skip to content

Commit cf65eef

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent b6c3d56 commit cf65eef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/standard_robot_pp_ros2.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ void StandardRobotPpRos2Node::receiveData()
295295
// sof[0] == SOF_RECEIVE 后读取剩余 header_frame 内容
296296
std::vector<uint8_t> header_frame_buf(3); // sof 在读取完数据后添加
297297

298-
serial_driver_->port()->receive(header_frame_buf); // 读取除 sof 外剩下的数据
298+
serial_driver_->port()->receive(header_frame_buf); // 读取除 sof 外剩下的数据
299299
header_frame_buf.insert(header_frame_buf.begin(), sof[0]); // 添加 sof
300300
HeaderFrame header_frame = fromVector<HeaderFrame>(header_frame_buf);
301301

0 commit comments

Comments
 (0)