Add a field to the probe struct to store the probe type.
Change DF_HEADER to report the quantity of each type of probe.
struct timeval starttime;
uint64_t samplerate;
int protocol_id;
- int num_probes;
+ int num_analog_probes;
+ int num_logic_probes;
};
/*
struct datastore *datastore;
};
+enum {
+ PROBE_TYPE_LOGIC,
+ PROBE_TYPE_ANALOG,
+};
+
struct probe {
int index;
+ int type;
gboolean enabled;
char *name;
char *trigger;