]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/fx2lafw/protocol.h
fx2lafw: Drop unused devc->ch_enabled.
[libsigrok.git] / src / hardware / fx2lafw / protocol.h
index 955045a60c0f3423d3997fb16a6259aad9290443..e228c87518371b47def45e60b71129ebb3223dcc 100644 (file)
@@ -95,7 +95,6 @@ struct fx2lafw_profile {
 struct dev_context {
        const struct fx2lafw_profile *profile;
        GSList *enabled_analog_channels;
-       gboolean ch_enabled[NUM_CHANNELS];
        /*
         * Since we can't keep track of an fx2lafw device after upgrading
         * the firmware (it renumerates into a different device address
@@ -135,7 +134,9 @@ struct dev_context {
        gboolean dslogic;
        uint16_t dslogic_mode;
        uint32_t trigger_pos;
-       int dslogic_external_clock;
+       gboolean dslogic_external_clock;
+       gboolean dslogic_continuous_mode;
+       int dslogic_clock_edge;
        int dslogic_voltage_threshold;
 };