Skip to content

Commit 8665e6c

Browse files
author
Aleksandr Kuzin
committed
Merge branch 'akuzin/internal_scaling_fix' into 'main'
Fix for the analog data payload with internal scaling See merge request Automotive/opendaq-modules/ASAM-CMP-Modules!40
2 parents ae0bbe4 + 0535aa4 commit 8665e6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

asam_cmp_capture_module/src/stream_fb.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ void createAnalogPayloadWithInternalScaling(ASAM::CMP::AnalogPayload& payload,
413413
payload.setSampleInterval(analogDataDeltaTime);
414414

415415
using SourceType = typename SampleTypeToType<SrcType>::Type;
416-
auto* rawData = reinterpret_cast<SourceType*>(packet.getRawData());
416+
auto* rawData = reinterpret_cast<SourceType*>(packet.getData());
417417
const size_t sampleCount = packet.getSampleCount();
418418

419419
uint8_t unitId = 0;

0 commit comments

Comments
 (0)