remove dead useOnlyFirstChannel (#4211)
* This field was ignored. * move pad out * gone
This commit is contained in:
parent
dd9f1b1b9d
commit
d5a4804993
|
@ -732,9 +732,6 @@ static void enableOrDisable(const char *param, bool isEnabled) {
|
||||||
} else if (strEqualCaseInsensitive(param, "trigger_only_front")) {
|
} else if (strEqualCaseInsensitive(param, "trigger_only_front")) {
|
||||||
engineConfiguration->useOnlyRisingEdgeForTrigger = isEnabled;
|
engineConfiguration->useOnlyRisingEdgeForTrigger = isEnabled;
|
||||||
incrementGlobalConfigurationVersion();
|
incrementGlobalConfigurationVersion();
|
||||||
} else if (strEqualCaseInsensitive(param, "use_only_first_channel")) {
|
|
||||||
engineConfiguration->trigger.useOnlyFirstChannel = isEnabled;
|
|
||||||
incrementGlobalConfigurationVersion();
|
|
||||||
} else if (strEqualCaseInsensitive(param, "two_wire_batch_injection")) {
|
} else if (strEqualCaseInsensitive(param, "two_wire_batch_injection")) {
|
||||||
engineConfiguration->twoWireBatchInjection = isEnabled;
|
engineConfiguration->twoWireBatchInjection = isEnabled;
|
||||||
incrementGlobalConfigurationVersion();
|
incrementGlobalConfigurationVersion();
|
||||||
|
|
|
@ -774,11 +774,11 @@ void triggerInfo(void) {
|
||||||
|
|
||||||
#endif /* HAL_TRIGGER_USE_PAL */
|
#endif /* HAL_TRIGGER_USE_PAL */
|
||||||
|
|
||||||
efiPrintf("Template %s (%d) trigger %s (%d) useRiseEdge=%s onlyFront=%s useOnlyFirstChannel=%s tdcOffset=%.2f",
|
efiPrintf("Template %s (%d) trigger %s (%d) useRiseEdge=%s onlyFront=%s tdcOffset=%.2f",
|
||||||
getEngine_type_e(engineConfiguration->engineType), engineConfiguration->engineType,
|
getEngine_type_e(engineConfiguration->engineType), engineConfiguration->engineType,
|
||||||
getTrigger_type_e(engineConfiguration->trigger.type), engineConfiguration->trigger.type,
|
getTrigger_type_e(engineConfiguration->trigger.type), engineConfiguration->trigger.type,
|
||||||
boolToString(TRIGGER_WAVEFORM(useRiseEdge)), boolToString(engineConfiguration->useOnlyRisingEdgeForTrigger),
|
boolToString(TRIGGER_WAVEFORM(useRiseEdge)), boolToString(engineConfiguration->useOnlyRisingEdgeForTrigger),
|
||||||
boolToString(engineConfiguration->trigger.useOnlyFirstChannel), TRIGGER_WAVEFORM(tdcPosition));
|
TRIGGER_WAVEFORM(tdcPosition));
|
||||||
|
|
||||||
if (engineConfiguration->trigger.type == TT_TOOTHED_WHEEL) {
|
if (engineConfiguration->trigger.type == TT_TOOTHED_WHEEL) {
|
||||||
efiPrintf("total %d/skipped %d", engineConfiguration->trigger.customTotalToothCount,
|
efiPrintf("total %d/skipped %d", engineConfiguration->trigger.customTotalToothCount,
|
||||||
|
|
|
@ -93,7 +93,7 @@
|
||||||
! Any time an incompatible change is made to the configuration format stored in flash,
|
! Any time an incompatible change is made to the configuration format stored in flash,
|
||||||
! update this string to the current date! It is required to also update TS_SIGNATURE above
|
! update this string to the current date! It is required to also update TS_SIGNATURE above
|
||||||
! when this happens.
|
! when this happens.
|
||||||
#define FLASH_DATA_VERSION 10011
|
#define FLASH_DATA_VERSION 10012
|
||||||
|
|
||||||
#define LOG_DELIMITER "`"
|
#define LOG_DELIMITER "`"
|
||||||
|
|
||||||
|
@ -583,17 +583,14 @@ struct trigger_config_s @brief Trigger wheel(s) configuration
|
||||||
|
|
||||||
custom trigger_type_e 4 bits, U32, @OFFSET@, [0:6], @@trigger_type_e_enum@@
|
custom trigger_type_e 4 bits, U32, @OFFSET@, [0:6], @@trigger_type_e_enum@@
|
||||||
trigger_type_e type;+https://github.com/rusefi/rusefi/wiki/All-Supported-Triggers\nset trigger_type X
|
trigger_type_e type;+https://github.com/rusefi/rusefi/wiki/All-Supported-Triggers\nset trigger_type X
|
||||||
|
|
||||||
bit todoRemoveMeOneDay0
|
|
||||||
bit todoRemoveMeOneDay1
|
|
||||||
bit useOnlyFirstChannel;+This option could be used if your second trigger channel is broken
|
|
||||||
|
|
||||||
int customTotalToothCount;;"number", 1, 0, 0, 500, 0
|
int customTotalToothCount;;"number", 1, 0, 0, 500, 0
|
||||||
int customSkippedToothCount;;"number", 1, 0, 0, 500, 0
|
int customSkippedToothCount;;"number", 1, 0, 0, 500, 0
|
||||||
end_struct
|
end_struct
|
||||||
|
|
||||||
trigger_config_s trigger;
|
trigger_config_s trigger;
|
||||||
|
|
||||||
|
int unused460
|
||||||
|
|
||||||
custom spi_device_e 1 bits, U08, @OFFSET@, [0:2], "Off", "SPI1", "SPI2", "SPI3", "SPI4"
|
custom spi_device_e 1 bits, U08, @OFFSET@, [0:2], "Off", "SPI1", "SPI2", "SPI3", "SPI4"
|
||||||
spi_device_e hip9011SpiDevice;
|
spi_device_e hip9011SpiDevice;
|
||||||
uint8_t failedMapFallback;Single value to be used in event of a failed MAP sensor \nThis value is only used for speed density fueling calculations.;"kPa", 1, 0, 0, 100, 0
|
uint8_t failedMapFallback;Single value to be used in event of a failed MAP sensor \nThis value is only used for speed density fueling calculations.;"kPa", 1, 0, 0, 100, 0
|
||||||
|
|
Loading…
Reference in New Issue