From: Bert Vermeulen Date: Sat, 27 Apr 2013 16:20:14 +0000 (+0200) Subject: Hardcode maximum supported probes to 64 for now X-Git-Tag: pulseview-0.1.0~16 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=80d501418163a7a7ef8a02a8ffc0c6b7ecb85725;p=pulseview.git Hardcode maximum supported probes to 64 for now SR_MAX_NUM_PROBES disappeared from libsigrok.h, along with that limitation. --- diff --git a/pv/data/logicsnapshot.cpp b/pv/data/logicsnapshot.cpp index e6fd26e3..f77690e1 100644 --- a/pv/data/logicsnapshot.cpp +++ b/pv/data/logicsnapshot.cpp @@ -188,7 +188,7 @@ void LogicSnapshot::get_subsampled_edges( assert(start <= end); assert(min_length > 0); assert(sig_index >= 0); - assert(sig_index < SR_MAX_NUM_PROBES); + assert(sig_index < 64); lock_guard lock(_mutex);