projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update to new session API.
[pulseview.git]
/
pv
/
device
/
devinst.cpp
diff --git
a/pv/device/devinst.cpp
b/pv/device/devinst.cpp
index 4543e5c81d8dba5cf212918bdb31cfa199e6476d..cb37ceefd51d39b5a5783c4960af9aabbc58f4d0 100644
(file)
--- a/
pv/device/devinst.cpp
+++ b/
pv/device/devinst.cpp
@@
-126,13
+126,13
@@
bool DevInst::is_trigger_enabled() const
void DevInst::start()
{
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()
{
throw tr("Failed to start session.");
}
void DevInst::run()
{
- sr_session_run();
+ sr_session_run(
SigSession::_sr_session
);
}
} // device
}
} // device