auto-sync

This commit is contained in:
rusEfi 2014-11-18 13:03:28 -06:00
parent fd8891ce44
commit 1768b68e29
2 changed files with 10 additions and 5 deletions

View File

@ -33,6 +33,12 @@ static LENameOrdinalPair leMoreOrEqual(LE_OPERATOR_MORE_OR_EQUAL, ">=");
static LENameOrdinalPair leLess(LE_OPERATOR_LESS, "<");
static LENameOrdinalPair leLessOrEquals(LE_OPERATOR_LESS_OR_EQUAL, "<=");
#define LE_EVAL_POOL_SIZE 32
static LECalculator evalCalc;
static LEElement evalPoolElements[LE_EVAL_POOL_SIZE];
static LEElementPool evalPool(evalPoolElements, LE_EVAL_POOL_SIZE);
LENameOrdinalPair::LENameOrdinalPair(le_action_e action, const char *name) {
this->action = action;
this->name = name;

View File

@ -55,15 +55,14 @@
#include "logic_expression.h"
#include "le_functions.h"
LECalculator calc;
#define LE_ELEMENT_POOL_SIZE 256
static LECalculator calc;
static LEElement mainPool[LE_ELEMENT_POOL_SIZE];
LEElementPool lePool(mainPool, LE_ELEMENT_POOL_SIZE);
static LEElementPool lePool(mainPool, LE_ELEMENT_POOL_SIZE);
LEElement * fuelPumpLogic;
LEElement * radiatorFanLogic;
static LEElement * fuelPumpLogic;
static LEElement * radiatorFanLogic;
persistent_config_container_s persistentState CCM_OPTIONAL
;