logic duplication - we arleady have isCltError

preparation for #961
This commit is contained in:
rusefi 2019-10-10 07:09:04 -04:00
parent f17fc56aa5
commit 41192ba2f0
2 changed files with 1 additions and 2 deletions

View File

@ -85,7 +85,7 @@ typedef struct {
unsigned int isTriggerError : 1; // bit 5 unsigned int isTriggerError : 1; // bit 5
unsigned int hasFatalError : 1; // bit 6 unsigned int hasFatalError : 1; // bit 6
unsigned int isWarnNow : 1; // bit 7 unsigned int isWarnNow : 1; // bit 7
unsigned int isCltBroken : 1; // bit 8 unsigned int unused80b8 : 1; // bit 8
unsigned int isKnockChipOk : 1; // bit 9 unsigned int isKnockChipOk : 1; // bit 9
int tsConfigVersion; // 84 int tsConfigVersion; // 84
egt_values_s egtValues; // 88 egt_values_s egtValues; // 88

View File

@ -803,7 +803,6 @@ void updateTunerStudioState(TunerStudioOutputChannels *tsOutputChannels DECLARE_
tsOutputChannels->isWarnNow = engine->engineState.warnings.isWarningNow(timeSeconds, true); tsOutputChannels->isWarnNow = engine->engineState.warnings.isWarningNow(timeSeconds, true);
tsOutputChannels->isCltBroken = engine->isCltBroken;
#if EFI_HIP_9011 #if EFI_HIP_9011
tsOutputChannels->isKnockChipOk = (instance.invalidHip9011ResponsesCount == 0); tsOutputChannels->isKnockChipOk = (instance.invalidHip9011ResponsesCount == 0);
#endif /* EFI_HIP_9011 */ #endif /* EFI_HIP_9011 */