Fix [ 1925509 ] ftd2xx: SetBaudRate fails with FT245

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1178 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Kolja Waschk 17 years ago
parent 29134f1238
commit a3b8d3ff98

@ -1,5 +1,7 @@
2008-04-19 Kolja Waschk <kawk>
* src/tap/parport/ftd2xx.c: SetBaudRate to 3E6, not 48E6. Should
fix [ 1925509 ] ftd2xx: SetBaudRate fails with FT245
* src/flash/intel.c: Handle chips that support "Mitsubishi
standard/enhanced command set" just like Intel chips. Need
to do more research about the differences (if any) [1946559]

@ -254,7 +254,7 @@ ftd2xx_std_open( parport_t *parport )
FT_Close(fc);
return -1;
}
if ((status = FT_SetBaudRate(fc, 48000000)) != FT_OK) {
if ((status = FT_SetBaudRate(fc, 3E6)) != FT_OK) {
fprintf(stderr, "Can't set baudrate: %li\n", status);
FT_Close(fc);
return -1;

Loading…
Cancel
Save