projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added an error message there are some unspecified required probes
[pulseview.git]
/
pv
/
data
/
decoderstack.cpp
diff --git
a/pv/data/decoderstack.cpp
b/pv/data/decoderstack.cpp
index 8284c7937c7a7ee6a68f334a587bee7374e97fcb..f642b11eaf92db972f4c0c01745db0b42ace3b87 100644
(file)
--- a/
pv/data/decoderstack.cpp
+++ b/
pv/data/decoderstack.cpp
@@
-322,8
+322,11
@@
void DecoderStack::decode_proc()
// Check that all decoders have the required probes
BOOST_FOREACH(const shared_ptr<decode::Decoder> &dec, _stack)
// Check that all decoders have the required probes
BOOST_FOREACH(const shared_ptr<decode::Decoder> &dec, _stack)
- if (!dec->have_required_probes())
+ if (!dec->have_required_probes()) {
+ _error_message = tr("One or more required probes "
+ "have not been specified");
return;
return;
+ }
// Create the session
srd_session_new(&session);
// Create the session
srd_session_new(&session);