Align is_not_pnp property
authorYegor Yefremov <yegorslists@googlemail.com>
Tue, 29 Aug 2023 08:57:00 +0000 (10:57 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Tue, 29 Aug 2023 13:32:51 +0000 (15:32 +0200)
As seen when written with FTD2XX.

src/ftdi.c

index 349df8a..3d16674 100644 (file)
@@ -3125,6 +3125,8 @@ int ftdi_eeprom_build(struct ftdi_context *ftdi)
         i++;
         output[i & eeprom_size_mask] = eeprom->is_not_pnp; /* as seen when written with FTD2XX */
         i++;
+        output[i & eeprom_size_mask] = 0x00;
+        i++;
     }
 
     if (ftdi->type > TYPE_AM) /* use_serial not used in AM devices */