2
0
forked from Ivasoft/DSView

fix: check the enabled channels error in LogicSnapshot

This commit is contained in:
dreamsourcelabTAI
2024-02-29 10:10:10 +08:00
parent 5ff0f40d27
commit ea2308f07f

View File

@@ -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 {