]> sigrok.org Git - libsigrok.git/blobdiff - hardware/chronovu-la8/protocol.h
agilent-dmm: Make protocol parser locale-independent.
[libsigrok.git] / hardware / chronovu-la8 / protocol.h
index cd71936c168bdce594eb965fbf1ea65151fb29f5..146fc112d5955feb4b8fb6c031bb76e665711267 100644 (file)
@@ -27,7 +27,7 @@
 #include "libsigrok.h"
 #include "libsigrok-internal.h"
 
-#define LOG_PREFIX "la8"
+#define LOG_PREFIX "chronovu-la8"
 
 #define USB_VENDOR_ID                  0x0403
 #define USB_DESCRIPTION                        "ChronoVu LA8"
@@ -39,6 +39,7 @@
 #define TRIGGER_TYPE                   "01"
 #define SDRAM_SIZE                     (8 * 1024 * 1024)
 #define MIN_NUM_SAMPLES                        1
+#define MAX_NUM_SAMPLES                        SDRAM_SIZE
 
 #define BS                             4096 /* Block size */
 #define NUM_BLOCKS                     2048 /* Number of blocks */