mirror of https://github.com/rusefi/rusefi-1.git
auto-sync
This commit is contained in:
parent
2d14cbbe77
commit
05ef4e5111
|
@ -494,6 +494,19 @@ static void setIgnitionMode(int value) {
|
|||
doPrintConfiguration(engine);
|
||||
}
|
||||
|
||||
static void setOneCoilIgnition(void) {
|
||||
setIgnitionMode((int)IM_ONE_COIL);
|
||||
}
|
||||
|
||||
static void setWastedIgnition(void) {
|
||||
setIgnitionMode((int)IM_WASTED_SPARK);
|
||||
}
|
||||
|
||||
static void setIndividualCoilsIgnition(void) {
|
||||
setIgnitionMode((int)IM_INDIVIDUAL_COILS);
|
||||
}
|
||||
|
||||
|
||||
static void setTriggerType(int value) {
|
||||
engineConfiguration->trigger.type = (trigger_type_e) value;
|
||||
incrementGlobalConfigurationVersion();
|
||||
|
@ -1009,7 +1022,13 @@ void initSettings(engine_configuration_s *engineConfiguration) {
|
|||
addConsoleActionI("set_cranking_rpm", setCrankingRpm);
|
||||
addConsoleActionF("set_cranking_timing_angle", setCrankingTimingAngle);
|
||||
addConsoleActionF("set_cranking_charge_angle", setCrankingChargeAngle);
|
||||
|
||||
addConsoleAction("set_one_coil_ignition", setOneCoilIgnition);
|
||||
addConsoleAction("set_wasted_spark_ignition", setWastedIgnition);
|
||||
addConsoleAction("set_individual_coils_ignition", setIndividualCoilsIgnition);
|
||||
|
||||
addConsoleActionI("set_ignition_mode", setIgnitionMode);
|
||||
|
||||
addConsoleActionI("set_cranking_injection_mode", setCrankingInjectionMode);
|
||||
addConsoleActionI("set_injection_mode", setInjectionMode);
|
||||
|
||||
|
|
|
@ -275,5 +275,5 @@ int getRusEfiVersion(void) {
|
|||
return 123; // this is here to make the compiler happy about the unused array
|
||||
if (UNUSED_CCM_SIZE[0] * 0 != 0)
|
||||
return 3211; // this is here to make the compiler happy about the unused array
|
||||
return 20151214;
|
||||
return 20151218;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue