]> sigrok.org Git - pulseview.git/commitdiff
Fix handling of 64 channel devices
authorriktw <redacted>
Tue, 22 Sep 2020 20:47:40 +0000 (22:47 +0200)
committerSoeren Apel <redacted>
Thu, 31 Dec 2020 10:51:32 +0000 (11:51 +0100)
pv/data/logicsegment.cpp

index be56c1505263fd44c19901ce8b055112f6888378..d000922787daf1346307738658d25f5e3288bac6 100644 (file)
@@ -643,7 +643,7 @@ void LogicSegment::append_payload_to_mipmap()
                else if (unit_size_ == 4)
                        downsampleT<uint32_t>(src_ptr, dest_ptr, count);
                else if (unit_size_ == 8)
-                       downsampleT<uint8_t>(src_ptr, dest_ptr, count);
+                       downsampleT<uint64_t>(src_ptr, dest_ptr, count);
                else
                        downsampleGeneric(src_ptr, dest_ptr, count);
                len_sample -= count;