]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/baylibre-acme/protocol.h
Drop some obsolete and unneeded comments.
[libsigrok.git] / src / hardware / baylibre-acme / protocol.h
index 4600211b29b2fe79f16aec44c3ab2b5fe0f3c6d7..d0c9761d6d0e4ac98832b1f10b0c2c2e04d7d17c 100644 (file)
@@ -23,7 +23,7 @@
 #include <stdint.h>
 #include <glib.h>
 #include <unistd.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "baylibre-acme"
@@ -49,14 +49,6 @@ enum probe_type {
        PROBE_TEMP,
 };
 
-enum channel_type {
-       ENRG_PWR = 1,
-       ENRG_CURR,
-       ENRG_VOL,
-       TEMP_IN,
-       TEMP_OUT,
-};
-
 /** Private, per-device-instance driver context. */
 struct dev_context {
        uint64_t samplerate;
@@ -65,9 +57,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;
 };