From: Joel Holdsworth Date: Sat, 3 Mar 2012 15:00:27 +0000 (+0000) Subject: Removed CMD_SET_SAMPLRATE X-Git-Tag: sigrok-firmware-fx2lafw-0.1.0~57 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=8f5f7854a31be8928a33178cebe4c334d1c23451;p=sigrok-firmware-fx2lafw.git Removed CMD_SET_SAMPLRATE --- diff --git a/fx2lafw.c b/fx2lafw.c index ab6d55fa..8d891d61 100644 --- a/fx2lafw.c +++ b/fx2lafw.c @@ -49,10 +49,9 @@ #include /* Protocol commands */ -#define CMD_SET_SAMPLERATE 0xb0 -#define CMD_START 0xb1 -#define CMD_STOP 0xb2 -#define CMD_GET_FW_VERSION 0xb3 +#define CMD_START 0xb0 +#define CMD_STOP 0xb1 +#define CMD_GET_FW_VERSION 0xb2 /* ... */ volatile bit got_sud; @@ -119,9 +118,6 @@ BOOL handle_vendorcommand(BYTE cmd) /* Protocol implementation */ switch (cmd) { - case CMD_SET_SAMPLERATE: - /* TODO */ - break; case CMD_START: gpif_acquisition_start(); return TRUE;