Changes

334 bytes removed ,  18:11, 22 February 2008
no edit summary
}
//---------------------------SetTimeOut to 2000 --------------------------------------
if((ret = ftdi_read_data_set_chunksize(&ftdic,2000)) < 0) {
printf("[Error] UsbGecko Setting RX time out \n");
ftdi_usb_close(&ftdic);
ftdi_deinit(&ftdic);
exit(0);
}
else{
printf("[OK] UsbGecko Setted RX Timeout\n");
}
//--------------------------- Set RX/TX size buffer --------------------------------------
if((ret = ftdi_read_data_set_chunksize(&ftdic,200065536)) < 0) {
printf("[Error] UsbGecko Setting RX buffer size\n");
ftdi_usb_close(&ftdic);
printf("[OK] UsbGecko Setted RX Buffer Size\n");
}
if((ret = ftdi_write_data_set_chunksize(&ftdic,200065536)) < 0) {
printf("[Error] UsbGecko Setting TX Buffer size\n");
ftdi_usb_close(&ftdic);
121

edits