]> sigrok.org Git - sigrok-firmware-fx2lafw.git/commitdiff
Removed CMD_SET_SAMPLRATE
authorJoel Holdsworth <redacted>
Sat, 3 Mar 2012 15:00:27 +0000 (15:00 +0000)
committerJoel Holdsworth <redacted>
Sat, 3 Mar 2012 16:59:22 +0000 (16:59 +0000)
fx2lafw.c

index ab6d55fa2b76071c567c271d76c698697eb8e797..8d891d61e30ff573243114c3fcabd84b6e7070c9 100644 (file)
--- a/fx2lafw.c
+++ b/fx2lafw.c
 #include <gpif-acquisition.h>
 
 /* 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;