Fix compile error reported by Bryan Richmond
authorThomas Jarosch <thomas.jarosch@intra2net.com>
Wed, 10 Apr 2013 07:44:38 +0000 (09:44 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Wed, 10 Apr 2013 07:44:38 +0000 (09:44 +0200)
src/ftdi.c

index 6d4a64b..64257da 100644 (file)
@@ -3772,7 +3772,7 @@ int ftdi_set_eeprom_value(struct ftdi_context *ftdi, enum ftdi_eeprom_value valu
         default :
             ftdi_error_return(-1, "Request to unknown EEPROM value");
     }
-    eeprom->initialized_for_connected_device = 0;
+    ftdi->eeprom->initialized_for_connected_device = 0;
     return 0;
 }