auto-sync
This commit is contained in:
parent
9c490b6b8e
commit
124736dd8b
|
@ -436,6 +436,12 @@ typedef struct {
|
|||
bool isTunerStudioEnabled : 1; // bit 8
|
||||
bool isWaveAnalyzerEnabled : 1; // bit 9
|
||||
bool isIdleThreadEnabled : 1; // bit 10
|
||||
/**
|
||||
* Usually if we have no trigger events that means engine is stopped
|
||||
* Unless we are troubleshooting and spinning the engine by hand - this case a longer
|
||||
* delay is needed
|
||||
*/
|
||||
bool isManualSpinningMode : 1; // bit 11
|
||||
|
||||
uint32_t digitalChartSize;
|
||||
/**
|
||||
|
|
|
@ -115,6 +115,10 @@ void printConfiguration(engine_configuration_s *engineConfiguration, engine_conf
|
|||
boolToString(engineConfiguration->isWaveAnalyzerEnabled),
|
||||
boolToString(engineConfiguration->isIdleThreadEnabled), boolToString(boardConfiguration->isFastAdcEnabled));
|
||||
|
||||
scheduleMsg(&logger, "isManualSpinningMode=%s/isCylinderCleanupEnabled=%s",
|
||||
boolToString(engineConfiguration->isManualSpinningMode),
|
||||
boolToString(engineConfiguration->isCylinderCleanupEnabled));
|
||||
|
||||
scheduleMsg(&logger, "crankingChargeAngle=%f", engineConfiguration->crankingChargeAngle);
|
||||
scheduleMsg(&logger, "crankingTimingAngle=%f", engineConfiguration->crankingTimingAngle);
|
||||
scheduleMsg(&logger, "globalTriggerAngleOffset=%f", engineConfiguration->globalTriggerAngleOffset);
|
||||
|
@ -203,6 +207,10 @@ void setEngineType(int value) {
|
|||
doPrintConfiguration(&engine);
|
||||
}
|
||||
|
||||
static void setIdleSolenoidFrequency(int value) {
|
||||
boardConfiguration->idleSolenoidFrequency = value;
|
||||
}
|
||||
|
||||
static void setInjectionPinMode(int value) {
|
||||
boardConfiguration->injectionPinMode = (pin_output_mode_e) value;
|
||||
doPrintConfiguration(&engine);
|
||||
|
@ -668,6 +676,10 @@ static void enableOrDisable(const char *param, bool isEnabled) {
|
|||
engineConfiguration->isWaveAnalyzerEnabled = isEnabled;
|
||||
} else if (strEqualCaseInsensitive(param, "idle_thread")) {
|
||||
engineConfiguration->isIdleThreadEnabled = isEnabled;
|
||||
} else if (strEqualCaseInsensitive(param, "manual_spinning")) {
|
||||
engineConfiguration->isManualSpinningMode = isEnabled;
|
||||
} else if (strEqualCaseInsensitive(param, "cylinder_cleanup")) {
|
||||
engineConfiguration->isCylinderCleanupEnabled = isEnabled;
|
||||
} else {
|
||||
scheduleMsg(&logger, "unexpected [%s]", param);
|
||||
return; // well, MISRA would not like this 'return' here :(
|
||||
|
@ -805,6 +817,7 @@ void initSettings(engine_configuration_s *engineConfiguration) {
|
|||
|
||||
addConsoleActionF("set_clt_bias", setCltBias);
|
||||
addConsoleActionF("set_iat_bias", setIatBias);
|
||||
addConsoleActionI("set_idle_solenoid_freq", setIdleSolenoidFrequency);
|
||||
|
||||
#if EFI_PROD_CODE
|
||||
addConsoleActionSS("set_injection_pin", setInjectionPin);
|
||||
|
|
|
@ -241,5 +241,5 @@ void firmwareError(const char *fmt, ...) {
|
|||
}
|
||||
|
||||
int getRusEfiVersion(void) {
|
||||
return 20141014;
|
||||
return 20141015;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue