From: Bert Vermeulen Date: Sat, 27 Apr 2013 16:20:14 +0000 (+0200) Subject: Hardcode maximum supported probes to 64 for now X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=commitdiff_plain;h=80d501418163a7a7ef8a02a8ffc0c6b7ecb85725 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 e6fd26e..f77690e 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);