]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/sysclk-lwla/protocol.h
sysclk-lwla: Minor whitespace and consistency fixes.
[libsigrok.git] / src / hardware / sysclk-lwla / protocol.h
index e8a66cf3e4821ea2396c1920166bf96f13a70d6f..ebfc704a97417b7737f8cd1c7fb11ac0fba93639 100644 (file)
@@ -59,7 +59,7 @@ enum {
 enum {
        USB_CONFIG      = 1,
        USB_INTERFACE   = 0,
-       USB_TIMEOUT_MS  = 3000,
+       USB_TIMEOUT_MS  = 1000,
 };
 
 /** USB device end points.
@@ -129,6 +129,7 @@ struct dev_context {
        const struct model_info *model;         /* device model descriptor */
        struct acquisition_state *acquisition;  /* running capture state */
        int active_fpga_config;                 /* FPGA configuration index */
+       gboolean short_transfer_quirk;          /* 64 bytes response limit */
 
        enum protocol_state state;      /* async protocol state */
        gboolean cancel_requested;      /* stop after current transfer */
@@ -139,7 +140,6 @@ struct dev_context {
        enum signal_edge cfg_clock_edge;        /* ext clock edge setting */
        enum trigger_source cfg_trigger_source; /* trigger source setting */
        enum signal_edge cfg_trigger_slope;     /* ext trigger slope setting */
-
 };
 
 /** LWLA model descriptor.