PC app: JTAG player - decrease initial over-buffering

This change improves XSVF upload reliability.
This commit is contained in:
ole00 2024-04-12 22:28:08 +01:00
parent cce891c513
commit 316d103456
1 changed files with 1 additions and 1 deletions

View File

@ -1334,7 +1334,7 @@ static int playJtagFile(char* label, int fSize, int vpp, int showProgress) {
chunkSize = feedRequest;
// make the initial chunk big so the data are buffered by the OS
if (sendPos == 0) {
chunkSize *= 4;
chunkSize *= 2;
if (chunkSize > fSize) {
chunkSize = fSize;
}