]> sigrok.org Git - libsigrok.git/commit
session: Return immediately if there are no event sources
authorDaniel Elstner <redacted>
Fri, 11 Sep 2015 17:15:55 +0000 (19:15 +0200)
committerDaniel Elstner <redacted>
Fri, 11 Sep 2015 17:15:55 +0000 (19:15 +0200)
commitab0b34584c94349c12ad7b33fb6b52f4f1242755
tree8dbcc26ed9054101c853f73eca80e64b719185c5
parentc2bf5506ee7864975917a7b6e7e93b78226887ce
session: Return immediately if there are no event sources

Some drivers, such as zeroplus-logic-cube, run everything they do
right away in dev_acquisition_start(), never installing any event
sources. Handle that evilness by returning from sr_session_run()
immediately if there are no sources.
src/session.c