Fix a wrong argument
authorUwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
Wed, 8 Sep 2010 17:13:21 +0000 (19:13 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Mon, 20 Sep 2010 13:34:37 +0000 (15:34 +0200)
src/ftdi.c

index e192cef..5b3a24e 100644 (file)
@@ -2632,7 +2632,7 @@ int ftdi_eeprom_decode(struct ftdi_context *ftdi, unsigned char *buf, int size,
     {
         eeprom->chip = buf[14];
     }
-    if(ftdi->type == TYPE_2)
+    if(ftdi->type == TYPE_2232C)
     {
     }
     if(ftdi->type == TYPE_R)