]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/atten-pps3xxx/protocol.h
atten-pps3xxx: Use serial_timeout().
[libsigrok.git] / src / hardware / atten-pps3xxx / protocol.h
index 2ad9e857b3f3d377df2b81e926fabda060026e5d..36ee281a8e2e63bfa32d1af73f20117ca9e3dcd6 100644 (file)
@@ -82,7 +82,8 @@ struct dev_context {
        /* Operational state */
        gboolean config_dirty;
        struct per_channel_config *config;
-       float byte_delay_ms;
+       /* Blocking write timeout for packet. */
+       int delay_ms;
        /* Received from device. */
        int channel_mode;
        gboolean over_current_protection;