We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66b3c81 commit 5bcb8e9Copy full SHA for 5bcb8e9
asam_cmp_capture_module/src/stream_fb.cpp
@@ -334,6 +334,9 @@ void StreamFb::processCanPacket(const DataPacketPtr& packet)
334
const size_t sampleCount = packet.getSampleCount();
335
336
uint64_t* rawTimeBuffer = reinterpret_cast<uint64_t*>(packet.getDomainPacket().getRawData());
337
+ if (rawTimeBuffer == nullptr)
338
+ return;
339
+
340
RatioPtr timeResolution = packet.getDomainPacket().getDataDescriptor().getTickResolution();
341
size_t timeScale = 1'000'000'000 / timeResolution.getDenominator();
342
0 commit comments