MCPcopy Index your code
hub / github.com/DreamSourceLab/DSView / check_setting

Method check_setting

DSView/pv/dock/dsotriggerdock.cpp:297–307  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

295}
296
297void DsoTriggerDock::check_setting()
298{
299 if (check_trig_channel() == false){
300 _auto_radioButton->setChecked(true);
301 _ch1_radioButton->setChecked(false);
302 _ch0a1_radioButton->setChecked(false);
303 _ch0o1_radioButton->setChecked(false);
304
305 _session->get_device()->set_config_byte(SR_CONF_TRIGGER_SOURCE, int(DSO_TRIGGER_AUTO));
306 }
307}
308
309bool DsoTriggerDock::check_trig_channel()
310{

Callers 1

OnMessageMethod · 0.80

Calls 2

set_config_byteMethod · 0.80
get_deviceMethod · 0.80

Tested by

no test coverage detected