]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/asix-sigma/protocol.h
korad-kaxxxxp: Add support for RND KA3005P V5.5 power supply
[libsigrok.git] / src / hardware / asix-sigma / protocol.h
index 40206342110c020fa91840b413269896e8645e10..6b934c252cc489a1ac108f7e8d3550b564c7136c 100644 (file)
@@ -246,9 +246,9 @@ struct sigma_state {
                SIGMA_UNINITIALIZED = 0,
                SIGMA_IDLE,
                SIGMA_CAPTURE,
+               SIGMA_STOPPING,
                SIGMA_DOWNLOAD,
        } state;
-
        uint16_t lastts;
        uint16_t lastsample;
 };
@@ -264,7 +264,7 @@ struct dev_context {
        int num_channels;
        int cur_channels;
        int samples_per_event;
-       int capture_ratio;
+       uint64_t capture_ratio;
        struct sigma_trigger trigger;
        int use_triggers;
        struct sigma_state state;