ftdi_eeprom: Fix flashing FT245R
authorRolf Fiedler <derRolf@gmx-topmail.de>
Mon, 6 Jun 2016 15:31:40 +0000 (17:31 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Mon, 6 Jun 2016 15:34:36 +0000 (17:34 +0200)
commit6f9f969dc7e359296e562ee9731081cefaf06b20
treeeba3be44d00ebc8900c3fd8c4e59905bb4569972
parent96d337a16b723d792f6ab5f40b7aa43120ac4782
ftdi_eeprom: Fix flashing FT245R

When we were trying to program FT245R, they were always flashed as FT232R.
The attached patch fixes the missing call to type2bit for TYPE_R.
src/ftdi.c