electrical noise during tuning ETB causes full tune reset fix #775

This commit is contained in:
rusefi 2019-04-25 22:28:46 -04:00
parent bc4d76a144
commit c6c47392d7
5 changed files with 11 additions and 4 deletions

View File

@ -42,6 +42,7 @@ See https://rusefi.com/forum/viewtopic.php?f=5&t=9
| Release date | Revision | Details |
| ------------ | --------- | ------- |
| 04/25/2019 | r17317 | bugfix #775: electrical noise reboot during settings change causes with full tune loss |
| 04/07/2019 | r17098 | improvement #714: TLE8888 Enable Outputs SPI integration |
| 02/27/2019 | r16886 | bugfix #698: concurrency defect with single timer executor initialization |
| 02/23/2019 | r16857 | improvement #688: better support for 144 and 176 pin packages |

View File

@ -653,6 +653,8 @@ void handleTestCommand(ts_channel_s *tsChannel) {
sr5WriteData(tsChannel, (const uint8_t *) VCS_VERSION, sizeof(VCS_VERSION));
chsnprintf(testOutputBuffer, sizeof(testOutputBuffer), " %d %d", engine->engineState.warnings.lastErrorCode, tsState.testCommandCounter);
sr5WriteData(tsChannel, (const uint8_t *) testOutputBuffer, strlen(testOutputBuffer));
chsnprintf(testOutputBuffer, sizeof(testOutputBuffer), " uptime=%ds", getTimeNowSeconds());
sr5WriteData(tsChannel, (const uint8_t *) testOutputBuffer, strlen(testOutputBuffer));
/**
* Please note that this response is a magic constant used by dev console for protocol detection
* @see EngineState#TS_PROTOCOL_TAG

View File

@ -1,12 +1,12 @@
// This file was generated by Version2Header
// Sun Apr 21 09:14:29 EDT 2019
// Thu Apr 25 22:26:32 EDT 2019
#ifndef GIT_HASH
#define GIT_HASH "94031427731007f331861a54b38aa635cdee715e"
#define GIT_HASH "bc4d76a144ec1526a291b85e6c8b2dea85e9da71"
#endif
#ifndef VCS_VERSION
#define VCS_VERSION "17269"
#define VCS_VERSION "17317"
#endif

View File

@ -68,7 +68,7 @@ enable2ndByteCanID = false
; see PAGE_0_SIZE in C source code
; CONFIG_DEFINITION_START
; this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Thu Apr 25 08:26:25 EDT 2019
; this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Thu Apr 25 22:18:02 EDT 2019
pageSize = 20000
page = 1
@ -1175,6 +1175,7 @@ fileVersion = { 20171101 }
debugFloatField5 = scalar, F32, 212, "val", 1, 0.0;
debugIntField2 = scalar, S32, 216, "val", 1, 0.0;
debugIntField3 = scalar, S32, 220, "val", 1, 0.0;
timeSeconds = scalar, U32, 224, "sec", 1, 0.0;
engineLoadDelta = scalar,F32, 228, "value", 1, 0
speedToRpmRatio = scalar,F32, 232, "value", 1, 0
warningCounter = scalar,U16, 236, "count", 1, 0
@ -1705,6 +1706,7 @@ gaugeCategory = Debug
debugIntField3Gauge = debugIntField3, "debug i3", "%", 0, 100, 0, 0, 100, 100, 0, 0
debugIntField4Gauge = debugIntField4, "debug i4", "%", 0, 100, 0, 0, 100, 100, 0, 0
debugIntField5Gauge = debugIntField5, "debug i5", "%", 0, 100, 0, 0, 100, 100, 0, 0
timeSecondsGauge = timeSeconds, "Uptime", "sec", 0, 100, 0, 0, 100, 100, 0, 0
gaugeCategory = Sensors
RPMGauge = RPMValue, "Engine Speed", "RPM", 0, 15000, 200, 500, 6000, 6000, 0, 0

View File

@ -249,6 +249,7 @@ fileVersion = { 20171101 }
debugFloatField5 = scalar, F32, 212, "val", 1, 0.0;
debugIntField2 = scalar, S32, 216, "val", 1, 0.0;
debugIntField3 = scalar, S32, 220, "val", 1, 0.0;
timeSeconds = scalar, U32, 224, "sec", 1, 0.0;
engineLoadDelta = scalar,F32, 228, "value", 1, 0
speedToRpmRatio = scalar,F32, 232, "value", 1, 0
warningCounter = scalar,U16, 236, "count", 1, 0
@ -779,6 +780,7 @@ gaugeCategory = Debug
debugIntField3Gauge = debugIntField3, "debug i3", "%", 0, 100, 0, 0, 100, 100, 0, 0
debugIntField4Gauge = debugIntField4, "debug i4", "%", 0, 100, 0, 0, 100, 100, 0, 0
debugIntField5Gauge = debugIntField5, "debug i5", "%", 0, 100, 0, 0, 100, 100, 0, 0
timeSecondsGauge = timeSeconds, "Uptime", "sec", 0, 100, 0, 0, 100, 100, 0, 0
gaugeCategory = Sensors
RPMGauge = RPMValue, "Engine Speed", "RPM", 0, 15000, 200, 500, 6000, 6000, 0, 0