#553 let's try 768
This commit is contained in:
parent
4aee228b1b
commit
3522179966
|
@ -174,7 +174,7 @@ void sr5WriteData(ts_channel_s *tsChannel, const uint8_t * buffer, int size) {
|
||||||
int transferred = 0;
|
int transferred = 0;
|
||||||
int stillToTransfer = size;
|
int stillToTransfer = size;
|
||||||
while (stillToTransfer > 0) {
|
while (stillToTransfer > 0) {
|
||||||
int thisTransferSize = minI(stillToTransfer, 1024);
|
int thisTransferSize = minI(stillToTransfer, 768);
|
||||||
transferred += chnWriteTimeout(tsChannel->channel, buffer, thisTransferSize, BINARY_IO_TIMEOUT);
|
transferred += chnWriteTimeout(tsChannel->channel, buffer, thisTransferSize, BINARY_IO_TIMEOUT);
|
||||||
buffer += thisTransferSize;
|
buffer += thisTransferSize;
|
||||||
stillToTransfer -= thisTransferSize;
|
stillToTransfer -= thisTransferSize;
|
||||||
|
|
|
@ -272,5 +272,5 @@ int getRusEfiVersion(void) {
|
||||||
if (initBootloader() != 0)
|
if (initBootloader() != 0)
|
||||||
return 123;
|
return 123;
|
||||||
#endif /* EFI_BOOTLOADER_INCLUDE_CODE */
|
#endif /* EFI_BOOTLOADER_INCLUDE_CODE */
|
||||||
return 20180125;
|
return 20180126;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue