Skip to content

Commit

Permalink
uavcan: fix RTCM corrections publication
Browse files Browse the repository at this point in the history
Before this fix, this function would stall and somehow never return.
  • Loading branch information
julianoes authored and dagar committed Sep 28, 2022
1 parent 241abb9 commit 2e7df77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/drivers/uavcan/sensors/gnss.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ bool UavcanGnssBridge::PublishRTCMStream(const uint8_t *const data, const size_t

result = _pub_rtcm_stream.broadcast(msg) >= 0;
perf_count(_rtcm_stream_pub_perf);
msg.data = {};
msg.data.clear();
}

return result;
Expand Down

0 comments on commit 2e7df77

Please sign in to comment.