Correct the CBUS decode string arrays
authorUwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
Fri, 10 Sep 2010 21:20:05 +0000 (23:20 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Mon, 20 Sep 2010 13:34:43 +0000 (15:34 +0200)
src/ftdi.c

index 8610857..67fd259 100644 (file)
@@ -2912,9 +2912,9 @@ int ftdi_eeprom_decode(struct ftdi_context *ftdi, unsigned char *buf, int size,
         if (ftdi->type == TYPE_R)
         {
             char *cbus_mux[] = {"TXDEN","PWREN","RXLED", "TXLED","TX+RXLED",
-                                "SLEEP","CLK48","CLK24R","CLK122","CLK6",
+                                "SLEEP","CLK48","CLK24","CLK12","CLK6",
                                 "IOMODE","BB_WR","BB_RD"};
-            char *cbus_BB[] = {"RXF","TXE","WR", "RD"};
+            char *cbus_BB[] = {"RXF","TXE","RD", "WR"};
             int i;
             
             if(eeprom->invert)