#include <glib.h>
#include <stdint.h>
#include <string.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
#include "libsigrok-internal.h"
#define LOG_PREFIX "hameg-hmo"
#define MAX_INSTRUMENT_VERSIONS 10
-#define MAX_COMMAND_SIZE 31
+#define MAX_COMMAND_SIZE 48
struct scope_config {
const char *name[MAX_INSTRUMENT_VERSIONS];
float vertical_offset;
gboolean state;
+ char probe_unit;
};
struct scope_state {