diff --git a/DSView/pv/data/logicsnapshot.cpp b/DSView/pv/data/logicsnapshot.cpp index d7e35818..7db9032b 100644 --- a/DSView/pv/data/logicsnapshot.cpp +++ b/DSView/pv/data/logicsnapshot.cpp @@ -167,11 +167,11 @@ void LogicSnapshot::first_payload(const sr_datafeed_logic &logic, uint64_t total _ch_data.push_back(root_vector); _ch_index.push_back(probe->index); } + } - if (_ch_index.size() == 0){ - dsv_info("ERROR: all channels disalbed"); - assert(0); - } + if (_ch_index.size() == 0){ + dsv_info("ERROR: all channels disalbed"); + assert(0); } } else {