In order to reduce or increase the confusion, I will now at least rename it to "fsio_analog_input"
This commit is contained in:
parent
af1c64712b
commit
309dd497da
|
@ -178,9 +178,9 @@ void setMiataNA_1_6_Configuration(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
|||
|
||||
// * set_rpn_expression 1 "rpm 3 fsio_setting >"
|
||||
// rpn_eval "rpm 1 fsio_setting >"
|
||||
// rpn_eval "fsio_input"
|
||||
// rpn_eval "fsio_analog_input"
|
||||
|
||||
// set_fsio_expression 0 "((rpm > fsio_setting(4) & (fsio_input < fsio_setting(5)) | rpm > fsio_setting(1) | (coolant > fsio_setting(2) > | (vbatt < fsio_setting(3)"
|
||||
// set_fsio_expression 0 "((rpm > fsio_setting(4) & (fsio_analog_input < fsio_setting(5)) | rpm > fsio_setting(1) | (coolant > fsio_setting(2) > | (vbatt < fsio_setting(3)"
|
||||
|
||||
// todo: convert
|
||||
setFsio(0, GPIOC_13, COMBINED_WARNING_LIGHT PASS_ENGINE_PARAMETER_SUFFIX);
|
||||
|
|
|
@ -56,6 +56,7 @@ typedef enum {
|
|||
LE_METHOD_CRANKING_RPM = 120,
|
||||
LE_METHOD_STARTUP_FUEL_PUMP_DURATION = 121,
|
||||
LE_METHOD_IN_SHUTDOWN = 122,
|
||||
LE_METHOD_FSIO_DIGITAL_INPUT = 123,
|
||||
|
||||
Force_4b_le_action = ENUM_32_BITS,
|
||||
|
||||
|
|
|
@ -54,7 +54,8 @@ static LENameOrdinalPair leFanOffSetting(LE_METHOD_FAN_OFF_SETTING, "fan_off_set
|
|||
static LENameOrdinalPair leTimeSinceBoot(LE_METHOD_TIME_SINCE_BOOT, "time_since_boot");
|
||||
static LENameOrdinalPair leFsioSetting(LE_METHOD_FSIO_SETTING, "fsio_setting");
|
||||
static LENameOrdinalPair leFsioTable(LE_METHOD_FSIO_TABLE, "fsio_table");
|
||||
static LENameOrdinalPair leFsioAnalogInput(LE_METHOD_FSIO_ANALOG_INPUT, "fsio_input");
|
||||
static LENameOrdinalPair leFsioAnalogInput(LE_METHOD_FSIO_ANALOG_INPUT, "fsio_analog_input");
|
||||
static LENameOrdinalPair leFsioDigitalInput(LE_METHOD_FSIO_DIGITAL_INPUT, "fsio_digital_input");
|
||||
static LENameOrdinalPair leKnock(LE_METHOD_KNOCK, "knock");
|
||||
static LENameOrdinalPair leIntakeVVT(LE_METHOD_INTAKE_VVT, "ivvt");
|
||||
static LENameOrdinalPair leExhaustVVT(LE_METHOD_EXHAUST_VVT, "evvt");
|
||||
|
@ -146,7 +147,7 @@ float getEngineValue(le_action_e action DECLARE_ENGINE_PARAMETER_SUFFIX) {
|
|||
// todo: that's about bench test mode, wrong header for sure!
|
||||
#include "injector_central.h"
|
||||
|
||||
static void setFsioInputPin(const char *indexStr, const char *pinName) {
|
||||
static void setFsioDigitalInputPin(const char *indexStr, const char *pinName) {
|
||||
int index = atoi(indexStr) - 1;
|
||||
if (index < 0 || index >= FSIO_COMMAND_COUNT) {
|
||||
scheduleMsg(logger, "invalid FSIO index: %d", index);
|
||||
|
@ -635,7 +636,7 @@ void initFsioImpl(Logging *sharedLogger DECLARE_ENGINE_PARAMETER_SUFFIX) {
|
|||
addConsoleActionSS("set_fsio_pid_output_pin", (VoidCharPtrCharPtr) setFsioPidOutputPin);
|
||||
addConsoleActionSS("set_fsio_output_pin", (VoidCharPtrCharPtr) setFsioOutputPin);
|
||||
addConsoleActionII("set_fsio_output_frequency", (VoidIntInt) setFsioFrequency);
|
||||
addConsoleActionSS("set_fsio_input_pin", (VoidCharPtrCharPtr) setFsioInputPin);
|
||||
addConsoleActionSS("set_fsio_digital_input_pin", (VoidCharPtrCharPtr) setFsioDigitalInputPin);
|
||||
|
||||
#endif /* EFI_PROD_CODE */
|
||||
|
||||
|
|
|
@ -733,5 +733,5 @@ int getRusEfiVersion(void) {
|
|||
if (initBootloader() != 0)
|
||||
return 123;
|
||||
#endif /* EFI_BOOTLOADER_INCLUDE_CODE */
|
||||
return 20180729;
|
||||
return 20180801;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue