apply the selected sample rate for hardware dso when data is empty

This commit is contained in:
dreamsourcelabTAI 2024-04-17 20:18:03 +08:00
parent 07d6d22c25
commit 08e0cb24ba

View File

@ -685,8 +685,7 @@ namespace pv
if (_device_agent->get_work_mode() == DSO){
commit_hori_res();
if (_device_agent->is_demo() && _session->have_view_data() == false)
{
if (_session->have_view_data() == false){
_session->apply_samplerate();
}
}