why so many channels are hidden in debug ? #3614
This commit is contained in:
parent
d5ec983f55
commit
89f92e1694
|
@ -167,8 +167,6 @@ static void miataNAcommonEngineSettings() {
|
|||
|
||||
engineConfiguration->tachPulsePerRev = 2;
|
||||
|
||||
engineConfiguration->debugMode = DBG_TRIGGER_COUNTERS;
|
||||
|
||||
setCommonNTCSensor(&engineConfiguration->clt, 2700);
|
||||
setCommonNTCSensor(&engineConfiguration->iat, 2700);
|
||||
|
||||
|
|
|
@ -359,15 +359,6 @@ static void setMazdaMiataEngineNB2Defaults() {
|
|||
setCommonMazdaNB();
|
||||
|
||||
setMazdaNB2VVTSettings();
|
||||
|
||||
|
||||
|
||||
// engineConfiguration->debugTriggerSync = GPIOD_3;
|
||||
|
||||
// engineConfiguration->debugMode = DBG_IDLE_CONTROL;
|
||||
engineConfiguration->debugMode = DBG_TRIGGER_COUNTERS;
|
||||
|
||||
|
||||
} // end of setMazdaMiataEngineNB2Defaults
|
||||
|
||||
// MAZDA_MIATA_2003
|
||||
|
|
|
@ -91,14 +91,12 @@ angle_t getAdvanceCorrections(int rpm) {
|
|||
|
||||
float pidTimingCorrection = engine->module<IdleController>().unmock().getIdleTimingAdjustment(rpm);
|
||||
|
||||
if (engineConfiguration->debugMode == DBG_IGNITION_TIMING) {
|
||||
#if EFI_TUNER_STUDIO
|
||||
tsOutputChannels.debugFloatField1 = iatCorrection;
|
||||
tsOutputChannels.debugFloatField2 = engine->engineState.cltTimingCorrection;
|
||||
tsOutputChannels.debugFloatField4 = pidTimingCorrection;
|
||||
tsOutputChannels.debugIntField1 = engine->engineState.multispark.count;
|
||||
tsOutputChannels.timingIatCorrection = iatCorrection;
|
||||
tsOutputChannels.timingCltCorrection = engine->engineState.cltTimingCorrection;
|
||||
tsOutputChannels.timingPidCorrection = pidTimingCorrection;
|
||||
tsOutputChannels.multiSparkCounter = engine->engineState.multispark.count;
|
||||
#endif /* EFI_TUNER_STUDIO */
|
||||
}
|
||||
|
||||
return iatCorrection
|
||||
+ engine->engineState.cltTimingCorrection
|
||||
|
|
Loading…
Reference in New Issue