set_cj125_cs_pin & set_cj125_heater_pin
This commit is contained in:
parent
4056cf1022
commit
742bf3f8ab
|
@ -1,4 +1,4 @@
|
|||
// this section was generated automatically by rusEfi tool ConfigDefinition.jar based on integration/rusefi_config.txt Wed Apr 08 21:53:44 EDT 2020
|
||||
// this section was generated automatically by rusEfi tool ConfigDefinition.jar based on integration/rusefi_config.txt Wed Apr 08 22:31:15 EDT 2020
|
||||
// by class com.rusefi.output.CHeaderConsumer
|
||||
// begin
|
||||
#ifndef CONFIG_BOARDS_KINETIS_CONFIG_CONTROLLERS_ALGO_ENGINE_CONFIGURATION_GENERATED_STRUCTURES_H
|
||||
|
@ -1080,10 +1080,12 @@ struct engine_configuration_s {
|
|||
*/
|
||||
pin_output_mode_e electronicThrottlePin1Mode;
|
||||
/**
|
||||
* set_cj125_heater_pin XXX
|
||||
* offset 673
|
||||
*/
|
||||
brain_pin_e wboHeaterPin;
|
||||
/**
|
||||
* set_cj125_cs_pin XXX
|
||||
* offset 674
|
||||
*/
|
||||
brain_pin_e cj125CsPin;
|
||||
|
@ -3260,4 +3262,4 @@ typedef struct persistent_config_s persistent_config_s;
|
|||
|
||||
#endif
|
||||
// end
|
||||
// this section was generated automatically by rusEfi tool ConfigDefinition.jar based on integration/rusefi_config.txt Wed Apr 08 21:53:44 EDT 2020
|
||||
// this section was generated automatically by rusEfi tool ConfigDefinition.jar based on integration/rusefi_config.txt Wed Apr 08 22:31:15 EDT 2020
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// this section was generated automatically by rusEfi tool ConfigDefinition.jar based on integration\rusefi_config.txt Wed Apr 08 21:53:29 EDT 2020
|
||||
// this section was generated automatically by rusEfi tool ConfigDefinition.jar based on integration\rusefi_config.txt Wed Apr 08 22:31:00 EDT 2020
|
||||
// by class com.rusefi.output.CHeaderConsumer
|
||||
// begin
|
||||
#ifndef CONTROLLERS_GENERATED_ENGINE_CONFIGURATION_GENERATED_STRUCTURES_H
|
||||
|
@ -1080,10 +1080,12 @@ struct engine_configuration_s {
|
|||
*/
|
||||
pin_output_mode_e electronicThrottlePin1Mode;
|
||||
/**
|
||||
* set_cj125_heater_pin XXX
|
||||
* offset 673
|
||||
*/
|
||||
brain_pin_e wboHeaterPin;
|
||||
/**
|
||||
* set_cj125_cs_pin XXX
|
||||
* offset 674
|
||||
*/
|
||||
brain_pin_e cj125CsPin;
|
||||
|
@ -3260,4 +3262,4 @@ typedef struct persistent_config_s persistent_config_s;
|
|||
|
||||
#endif
|
||||
// end
|
||||
// this section was generated automatically by rusEfi tool ConfigDefinition.jar based on integration\rusefi_config.txt Wed Apr 08 21:53:29 EDT 2020
|
||||
// this section was generated automatically by rusEfi tool ConfigDefinition.jar based on integration\rusefi_config.txt Wed Apr 08 22:31:00 EDT 2020
|
||||
|
|
|
@ -679,6 +679,14 @@ static void setMainRelayPin(const char *pinName) {
|
|||
setIndividualPin(pinName, &engineConfiguration->mainRelayPin, "main relay");
|
||||
}
|
||||
|
||||
static void setCj125CsPin(const char *pinName) {
|
||||
setIndividualPin(pinName, &engineConfiguration->starterRelayDisablePin, "starter disable relay");
|
||||
}
|
||||
|
||||
static void setCj125HeaterPin(const char *pinName) {
|
||||
setIndividualPin(pinName, &engineConfiguration->wboHeaterPin, "cj125 heater");
|
||||
}
|
||||
|
||||
static void setStarterRelayPin(const char *pinName) {
|
||||
setIndividualPin(pinName, &engineConfiguration->starterRelayDisablePin, "starter disable relay");
|
||||
}
|
||||
|
@ -904,6 +912,8 @@ static void enableOrDisable(const char *param, bool isEnabled) {
|
|||
engineConfiguration->useConstantDwellDuringCranking = isEnabled;
|
||||
} else if (strEqualCaseInsensitive(param, "cj125")) {
|
||||
engineConfiguration->isCJ125Enabled = isEnabled;
|
||||
} else if (strEqualCaseInsensitive(param, "cj125verbose")) {
|
||||
engineConfiguration->isCJ125Verbose = isEnabled;
|
||||
} else if (strEqualCaseInsensitive(param, "engine_sniffer")) {
|
||||
engineConfiguration->isEngineChartEnabled = isEnabled;
|
||||
} else if (strEqualCaseInsensitive(param, "step1limimter")) {
|
||||
|
@ -1429,6 +1439,8 @@ void initSettings(void) {
|
|||
addConsoleActionS("set_idle_pin", setIdlePin);
|
||||
addConsoleActionS("set_main_relay_pin", setMainRelayPin);
|
||||
addConsoleActionS("set_starter_relay_pin", setStarterRelayPin);
|
||||
addConsoleActionS("set_cj125_cs_pin", setCj125CsPin);
|
||||
addConsoleActionS("set_cj125_heater_pin", setCj125HeaterPin);
|
||||
|
||||
addConsoleActionS("set_can_rx_pin", setCanRxPin);
|
||||
addConsoleActionS("set_can_tx_pin", setCanTxPin);
|
||||
|
|
|
@ -568,8 +568,8 @@ switch_input_pin_e clutchDownPin;some cars have a switch to indicate that clutch
|
|||
|
||||
brain_pin_e[DIGIPOT_COUNT iterate] digitalPotentiometerChipSelect;
|
||||
pin_output_mode_e electronicThrottlePin1Mode;
|
||||
brain_pin_e wboHeaterPin;
|
||||
brain_pin_e cj125CsPin;
|
||||
brain_pin_e wboHeaterPin;set_cj125_heater_pin XXX
|
||||
brain_pin_e cj125CsPin;set_cj125_cs_pin XXX
|
||||
spi_device_e max31855spiDevice;
|
||||
brain_pin_e debugTriggerSync;
|
||||
|
||||
|
|
Loading…
Reference in New Issue