auto-sync

This commit is contained in:
rusEfi 2016-10-23 00:03:08 -04:00
parent a031855a1a
commit cc987063e6
3 changed files with 6 additions and 0 deletions

View File

@ -19,6 +19,7 @@
#include "fsio_core.h"
#include "fsio_impl.h"
#include "adc_inputs.h"
extern fsio8_Map3D_f32t fsioTable1;
extern fsio8_Map3D_u8t fsioTable2;
@ -283,6 +284,9 @@ bool LECalculator::processElement(Engine *engine, LEElement *element) {
}
}
break;
case LE_METHOD_FSIO_ANALOG_INPUT:
push(element->action, getVoltage("fsio", engine->engineConfiguration->fsioAdc[0]));
break;
case LE_METHOD_KNOCK:
push(element->action, engine->knockCount);
break;

View File

@ -49,6 +49,7 @@ typedef enum {
LE_METHOD_FSIO_TABLE = 113,
LE_METHOD_SELF = 114,
LE_METHOD_MAP = 115,
LE_METHOD_FSIO_ANALOG_INPUT = 116,
Force_4b_le_action = ENUM_32_BITS,

View File

@ -39,6 +39,7 @@ 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 leKnock(LE_METHOD_KNOCK, "knock");
#define LE_EVAL_POOL_SIZE 32