#define NUM_TRIGGER_STAGES 4
#define TRIGGER_TYPES "01"
#define SERIAL_SPEED B115200
-#define CLOCK_RATE MHZ(100)
+#define CLOCK_RATE SR_MHZ(100)
#define MIN_NUM_SAMPLES 4
/* Command opcodes */
static struct sr_samplerates samplerates = {
10,
- MHZ(200),
+ SR_MHZ(200),
1,
0,
};
free(serial_params);
g_slist_free(ports);
- cur_samplerate = KHZ(200);
+ cur_samplerate = SR_KHZ(200);
return final_devcnt;
}