TUNING DETECTED indicator and pause STFT if tuning is detected #7515
only:indicator
This commit is contained in:
parent
34db9628a6
commit
296b960921
|
@ -42,6 +42,7 @@ bit isMapValid;MAP from sensor seems valid
|
|||
bit triggerPageRefreshFlag
|
||||
bit hasFaultReportFile
|
||||
bit isAnalogFailure;Analog sensors supply failure
|
||||
bit isTuningNow
|
||||
! 1 unused bit left here
|
||||
|
||||
|
||||
|
|
|
@ -357,6 +357,8 @@ void requestBurn() {
|
|||
|
||||
#if EFI_TUNER_STUDIO
|
||||
|
||||
Timer calibrationsWriteTimer;
|
||||
|
||||
/**
|
||||
* 'Burn' command is a command to commit the changes
|
||||
*/
|
||||
|
@ -741,12 +743,14 @@ int TunerStudio::handleCrcCommand(TsChannelBase* tsChannel, char *data, int inco
|
|||
case TS_CHUNK_WRITE_COMMAND:
|
||||
// command with no page argument, default page = 0
|
||||
handleWriteChunkCommand(tsChannel, page, offset, count, data + sizeof(TunerStudioRWChunkRequest));
|
||||
calibrationsWriteTimer.reset();
|
||||
break;
|
||||
case TS_SINGLE_WRITE_COMMAND:
|
||||
// command with no page argument, default page = 0
|
||||
// This command writes 1 byte
|
||||
count = 1;
|
||||
handleWriteChunkCommand(tsChannel, page, offset, count, data + sizeof(offset));
|
||||
calibrationsWriteTimer.reset();
|
||||
break;
|
||||
case TS_GET_SCATTERED_GET_COMMAND:
|
||||
#if EFI_TS_SCATTER
|
||||
|
|
|
@ -1908,6 +1908,7 @@ gaugeCategory = GPPWM Outputs
|
|||
indicator = { sd_msd }, "No SD USB", "SD USB", white, black, green, black
|
||||
; indicator = { sd_active_wr }, "SD WR", "SD WR", white, black, green, black
|
||||
; indicator = { sd_active_rd }, "SD RD", "SD RD", white, black, green, black
|
||||
indicator = { isTuningNow }, "", "Tuning Detected", white, black, green, black
|
||||
indicator = { etb1etbRevLimitActive }, "No ETB RPM Limit", "ETB RPM Limit", white, black, yellow, black
|
||||
|
||||
indicator = { wbo0_hasFault }, { WBO0: bitStringValue(wboFaultCodeList, wb1faultCode)}, { WBO0: bitStringValue(wboFaultCodeList, wb1faultCode)}, white, black, red, black
|
||||
|
|
Loading…
Reference in New Issue