mirror of
https://github.com/Polprzewodnikowy/SummerCart64.git
synced 2024-11-21 21:49:15 +01:00
increase ftdi chunk size to speedup transfer
This commit is contained in:
parent
856f6948ab
commit
72deb0fb81
@ -486,7 +486,7 @@ impl FtdiDevice {
|
||||
wrapper.set_module_detach_mode(ModuleDetachMode::AutoDetachReattach);
|
||||
wrapper.set_interface(InterfaceIndex::A)?;
|
||||
|
||||
const CHUNK_SIZE: usize = 16 * 1024;
|
||||
const CHUNK_SIZE: usize = 2 * 1024 * 1024;
|
||||
|
||||
wrapper.read_data_set_chunksize(CHUNK_SIZE)?;
|
||||
wrapper.write_data_set_chunksize(CHUNK_SIZE)?;
|
||||
|
Loading…
Reference in New Issue
Block a user