From 35221799664442c605b1368ed0a02645319fb7bb Mon Sep 17 00:00:00 2001 From: rusefi Date: Thu, 25 Jan 2018 09:46:31 -0500 Subject: [PATCH] #553 let's try 768 --- firmware/console/binary/tunerstudio_io.cpp | 2 +- firmware/rusefi.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/console/binary/tunerstudio_io.cpp b/firmware/console/binary/tunerstudio_io.cpp index 5843706692..3ed9888ea8 100644 --- a/firmware/console/binary/tunerstudio_io.cpp +++ b/firmware/console/binary/tunerstudio_io.cpp @@ -174,7 +174,7 @@ void sr5WriteData(ts_channel_s *tsChannel, const uint8_t * buffer, int size) { int transferred = 0; int stillToTransfer = size; while (stillToTransfer > 0) { - int thisTransferSize = minI(stillToTransfer, 1024); + int thisTransferSize = minI(stillToTransfer, 768); transferred += chnWriteTimeout(tsChannel->channel, buffer, thisTransferSize, BINARY_IO_TIMEOUT); buffer += thisTransferSize; stillToTransfer -= thisTransferSize; diff --git a/firmware/rusefi.cpp b/firmware/rusefi.cpp index b9ff90bf15..0fdf5258a2 100644 --- a/firmware/rusefi.cpp +++ b/firmware/rusefi.cpp @@ -272,5 +272,5 @@ int getRusEfiVersion(void) { if (initBootloader() != 0) return 123; #endif /* EFI_BOOTLOADER_INCLUDE_CODE */ - return 20180125; + return 20180126; }