]> sigrok.org Git - pulseview.git/commitdiff
Hardcode maximum supported probes to 64 for now
authorBert Vermeulen <redacted>
Sat, 27 Apr 2013 16:20:14 +0000 (18:20 +0200)
committerBert Vermeulen <redacted>
Sat, 27 Apr 2013 16:20:14 +0000 (18:20 +0200)
SR_MAX_NUM_PROBES disappeared from libsigrok.h, along with that
limitation.

pv/data/logicsnapshot.cpp

index e6fd26e33b68f742a8547894487ddf7f719a5bd3..f77690e137d6ced0a17b3f54ba0edf18f3ee1b9d 100644 (file)
@@ -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<recursive_mutex> lock(_mutex);