From: riktw Date: Tue, 22 Sep 2020 20:47:40 +0000 (+0200) Subject: Fix handling of 64 channel devices X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=commitdiff_plain;h=4f654de1ecd97104164419985ab31ea83bf9daef Fix handling of 64 channel devices --- diff --git a/pv/data/logicsegment.cpp b/pv/data/logicsegment.cpp index be56c150..d0009227 100644 --- a/pv/data/logicsegment.cpp +++ b/pv/data/logicsegment.cpp @@ -643,7 +643,7 @@ void LogicSegment::append_payload_to_mipmap() else if (unit_size_ == 4) downsampleT(src_ptr, dest_ptr, count); else if (unit_size_ == 8) - downsampleT(src_ptr, dest_ptr, count); + downsampleT(src_ptr, dest_ptr, count); else downsampleGeneric(src_ptr, dest_ptr, count); len_sample -= count;