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

Method get_hardware_operation_mode

DSView/pv/deviceagent.cpp:287–296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

285}
286
287 int DeviceAgent::get_hardware_operation_mode()
288 {
289 assert(_dev_handle);
290
291 int mode_val = 0;
292 if (get_config_int16(SR_CONF_OPERATION_MODE, mode_val)){
293 return mode_val;
294 }
295 return -1;
296 }
297
298 bool DeviceAgent::is_stream_mode()
299 {

Callers 1

exec_captureMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected