auto-sync

This commit is contained in:
rusEfi 2014-11-21 11:04:24 -06:00
parent cff2889d8f
commit 542e989045
3 changed files with 5 additions and 4 deletions

View File

@ -402,7 +402,8 @@ void scheduleLogging(Logging *logging) {
resetLogging(logging);
return;
}
strcpy(accumulationBuffer + accumulatedSize, logging->buffer);
// memcpy is faster then strcpy because it is not looking for line terminator
memcpy(accumulationBuffer + accumulatedSize, logging->buffer, newLength + 1);
accumulatedSize += newLength;
if (!alreadyLocked) {
unlockOutputBuffer();

View File

@ -262,5 +262,5 @@ void firmwareError(const char *fmt, ...) {
}
int getRusEfiVersion(void) {
return 20141119;
return 20141121;
}

View File

@ -1,5 +1,5 @@
// This file was generated by Version2Header
// Wed Nov 19 10:50:16 EST 2014
// Fri Nov 21 11:57:01 EST 2014
#ifndef VCS_VERSION
#define VCS_VERSION "5449"
#define VCS_VERSION "5450"
#endif