Remove ftdi_eeprom_getsize also from the CPP Wrapper
authorUwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
Wed, 8 Sep 2010 14:01:32 +0000 (16:01 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Mon, 20 Sep 2010 13:34:36 +0000 (15:34 +0200)
ftdipp/ftdi.cpp

index 82c1fca..de0735d 100644 (file)
@@ -403,11 +403,6 @@ void Eeprom::set_size(int size)
     return ftdi_eeprom_setsize(d->context, &d->eeprom, size);
 }
 
-int Eeprom::size(unsigned char *eeprom, int maxsize)
-{
-    return ftdi_read_eeprom_getsize(d->context, eeprom, maxsize);
-}
-
 int Eeprom::chip_id(unsigned int *chipid)
 {
     return ftdi_read_chipid(d->context, chipid);