mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-17 13:07:34 +08:00
uavcan: fix RTCM corrections publication
Before this fix, this function would stall and somehow never return.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user