]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/demo/protocol.h
Demo: Implement multi-frame development feature
[libsigrok.git] / src / hardware / demo / protocol.h
index 0b13ebfba2ef9b4a217d980bc997eab46ed8b475..53ad043b17845952d35a8bd72fb8b27bf1948d16 100644 (file)
@@ -33,6 +33,8 @@
 #define LOGIC_BUFSIZE                  4096
 /* Size of the analog pattern space per channel. */
 #define ANALOG_BUFSIZE                 4096
+/* This is a development feature: it starts a new frame every n samples. */
+#define SAMPLES_PER_FRAME              0
 
 struct dev_context {
        uint64_t cur_samplerate;