forked from Ivasoft/DSView
fix: check the enabled channels error in LogicSnapshot
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user