#include <stdlib.h>
#include <string.h>
#include <math.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
#include "libsigrok-internal.h"
#include "protocol_wrappers.h"
#define LOG_PREFIX "yokogawa-dlm"
+
#define MAX_INSTRUMENT_VERSIONS 8
#define RECEIVE_BUFFER_SIZE 4096
#define DLM_DIVISION_FOR_WORD_FORMAT 3200
#define DLM_DIVISION_FOR_BYTE_FORMAT 12.5
-#define DLM_DIG_CHAN_INDEX_OFFS (32)
+#define DLM_DIG_CHAN_INDEX_OFFS 32
enum trigger_slopes {
SLOPE_POSITIVE,
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];
uint32_t samples_per_frame;
};
-/** Private, per-device-instance driver context. */
struct dev_context {
const void *model_config;
void *model_state;