auto-sync

This commit is contained in:
rusEfi 2016-10-03 22:03:22 -04:00
parent 26e2bae260
commit 5cf0d645eb
4 changed files with 5 additions and 5 deletions

View File

@ -243,9 +243,9 @@ void handlePageSelectCommand(ts_channel_s *tsChannel, ts_response_format_e mode,
static void onlineTuneBytes(int currentPageId, int offset, int count) {
if (offset > sizeof(engine_configuration_s)) {
int maxSize = sizeof(engine_configuration_s) - offset;
int maxSize = sizeof(persistent_config_s) - offset;
if (count > maxSize) {
warning(CUSTOM_OBD_99, "TS overflow %d %d", offset, count);
warning(CUSTOM_TS_OVERFLOW, "TS overflow %d %d", offset, count);
return;
}
scheduleMsg(&tsLogger, "applying soft change from %d length %d", offset, count);

View File

@ -1772,7 +1772,7 @@ typedef enum {
CUSTOM_OBD_96 = 6096,
CUSTOM_OBD_97 = 6097,
CUSTOM_OBD_98 = 6098,
CUSTOM_OBD_99 = 6099,
CUSTOM_TS_OVERFLOW = 6099,
// this is needed for proper enum size, this matters for malfunction_central

View File

@ -293,5 +293,5 @@ int getRusEfiVersion(void) {
return 123; // this is here to make the compiler happy about the unused array
if (UNUSED_CCM_SIZE[0] * 0 != 0)
return 3211; // this is here to make the compiler happy about the unused array
return 20161002;
return 20161003;
}

View File

@ -1141,7 +1141,7 @@ fileVersion = { 20160702 }
debugIntField3Gauge = debugIntField3, "debug i3", "%", 0, 100, 0, 0, 100, 100, 0, 0
speedToRpmRatioGauge = speedToRpmRatio, "speed2rpm", "", 0, 100, 0, 0, 100, 100, 4, 4
warningCounterGauge = warningCounter, "warn", "", 0, 100, 0, 0, 100, 100, 0, 0
lastErrorCodeGauge = lastErrorCode, "error", "", 0, 100, 0, 0, 100, 100, 0, 0
lastErrorCodeGauge = lastErrorCode, "error", "", 0, 8000, 0, 0, 8000, 8000, 0, 0
internalMcuTemperatureGauge = internalMcuTemperature, "internal temperature", "C", 0, 100, 0, 0, 100, 100, 0, 0
vvtPositionGauge = vvtPosition, "VVT position", "deg", 0, 100, 0, 0, 720, 720, 0, 0