]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/baylibre-acme/protocol.h
baylibre-acme: Use timerfd instead of a fake pipe.
[libsigrok.git] / src / hardware / baylibre-acme / protocol.h
index 4600211b29b2fe79f16aec44c3ab2b5fe0f3c6d7..a3f4452c12e1d67ae2ce07fdd55e904c133d1985 100644 (file)
@@ -65,9 +65,10 @@ struct dev_context {
 
        uint32_t num_channels;
        uint64_t samples_read;
+       uint64_t samples_missed;
        int64_t start_time;
        int64_t last_sample_fin;
-       int pipe_fds[2];
+       int timer_fd;
        GIOChannel *channel;
 };