]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/asix-sigma/protocol.h
output/csv: use intermediate time_t var, silence compiler warning
[libsigrok.git] / src / hardware / asix-sigma / protocol.h
index ab5f6019a9277f05aed7f2887a5481af7443471c..a35bcb0ad08ba45f66744997f66e866efb427289 100644 (file)
 
 #define LOG_PREFIX "asix-sigma"
 
-/*
- * Triggers are not working in this implementation. Stop claiming
- * support for the feature which effectively is not available, until
- * the implementation got fixed. Yet keep the code in place and allow
- * developers to turn on this switch during development.
- */
-#define ASIX_SIGMA_WITH_TRIGGER        1
-
 /* Experimental support for OMEGA (scan only, operation is ENOIMPL). */
 #define ASIX_WITH_OMEGA 0
 
@@ -338,6 +330,7 @@ struct dev_context {
                uint16_t prefix;
                enum asix_device_type type;
        } id;
+       char **channel_names;
        struct {
                struct ftdi_context ctx;
                gboolean is_open, must_close;
@@ -386,6 +379,7 @@ struct dev_context {
        uint64_t capture_ratio;
        struct sigma_trigger trigger;
        gboolean use_triggers;
+       gboolean late_trigger_timeout;
        enum {
                SIGMA_UNINITIALIZED = 0,
                SIGMA_CONFIG,