]> sigrok.org Git - libsigrok.git/commit - src/hardware/demo/api.c
demo: Set an initial mq, mq flag and digits to the analog package.
authorFrank Stettner <redacted>
Wed, 20 Feb 2019 17:58:13 +0000 (18:58 +0100)
committerUwe Hermann <redacted>
Fri, 29 Mar 2019 15:15:37 +0000 (16:15 +0100)
commit8430c9b62e83faa606e7abff635d83433b237e17
treee9afbef3669140591ff68752c1dc698b3f34fae2
parenta0bc8afd7d7bac81f14b232703ac0a29a7f77e29
demo: Set an initial mq, mq flag and digits to the analog package.

Without a measured quantity in packet.meaning->mq the C++ binding function
sigrok::Analog::mq() throws an exception and there is no way to check if
there is any measured quantity set in the analog package.
src/hardware/demo/api.c