X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fyokogawa-dlm%2Fprotocol.h;h=6b27385d216dbaa902e87e8014e638b12dcefb0b;hb=3ed4b109b5975b82dbf3e9f276c4e54a266634db;hp=24c8e2787ef64cd1691249cbe64b690ba40e1ee3;hpb=a93086528e5b476812e42b423f7a8a53812af6f4;p=libsigrok.git diff --git a/src/hardware/yokogawa-dlm/protocol.h b/src/hardware/yokogawa-dlm/protocol.h index 24c8e278..6b27385d 100644 --- a/src/hardware/yokogawa-dlm/protocol.h +++ b/src/hardware/yokogawa-dlm/protocol.h @@ -26,11 +26,12 @@ #include #include #include -#include "libsigrok.h" +#include #include "libsigrok-internal.h" #include "protocol_wrappers.h" #define LOG_PREFIX "yokogawa-dlm" + #define MAX_INSTRUMENT_VERSIONS 8 #define RECEIVE_BUFFER_SIZE 4096 @@ -48,7 +49,7 @@ enum trigger_slopes { SLOPE_NEGATIVE }; -extern const char *dlm_trigger_slopes[3]; +extern const char *dlm_trigger_slopes[2]; extern const uint64_t dlm_timebases[36][2]; extern const uint64_t dlm_vdivs[17][2]; @@ -95,7 +96,6 @@ struct scope_state { uint32_t samples_per_frame; }; -/** Private, per-device-instance driver context. */ struct dev_context { const void *model_config; void *model_state;