X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fdemo%2Fdemo.c;h=aa3f57d4a919f8c920aab54864531b0af68c8cca;hb=f9a69557d276ee27d551eb9ef68f2700324613b4;hp=6ae0d80da960e8f57ea2f358ca6d32a41e835333;hpb=a9a245b428cb9645d73044f6741818d2499efefc;p=libsigrok.git diff --git a/hardware/demo/demo.c b/hardware/demo/demo.c index 6ae0d80d..aa3f57d4 100644 --- a/hardware/demo/demo.c +++ b/hardware/demo/demo.c @@ -125,6 +125,9 @@ static uint8_t pattern_sigrok[] = { 0xbe, 0xbe, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, }; +/* Private, per-device-instance driver context. */ +/* TODO: struct context as with the other drivers. */ + /* List of struct sr_dev_inst, maintained by dev_open()/dev_close(). */ static GSList *dev_insts = NULL; static uint64_t cur_samplerate = SR_KHZ(200);