X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdevice%2Fdevinst.cpp;h=cb37ceefd51d39b5a5783c4960af9aabbc58f4d0;hp=4543e5c81d8dba5cf212918bdb31cfa199e6476d;hb=bb3030b34e44733036acdfe5b4d4ec0705146831;hpb=81db736be4ff87c492502e40691f367b214f2bfa diff --git a/pv/device/devinst.cpp b/pv/device/devinst.cpp index 4543e5c..cb37cee 100644 --- a/pv/device/devinst.cpp +++ b/pv/device/devinst.cpp @@ -126,13 +126,13 @@ bool DevInst::is_trigger_enabled() const void DevInst::start() { - if (sr_session_start() != SR_OK) + if (sr_session_start(SigSession::_sr_session) != SR_OK) throw tr("Failed to start session."); } void DevInst::run() { - sr_session_run(); + sr_session_run(SigSession::_sr_session); } } // device