mirror of https://github.com/rusefi/rusefi-1.git
auto-sync
This commit is contained in:
parent
26e2bae260
commit
5cf0d645eb
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue