uavcan: fix RTCM corrections publication

Before this fix, this function would stall and somehow never return.
This commit is contained in:
Julian Oes
2022-09-27 15:54:13 +13:00
committed by Daniel Agar
parent 241abb933a
commit 2e7df77bff
+1 -1
View File
@@ -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;