2014-10-05 11:03:00 -07:00
|
|
|
/**
|
|
|
|
* @file le_functions.h
|
|
|
|
*
|
|
|
|
* @date Oct 5, 2014
|
|
|
|
* @author Andrey Belomutskiy, (c) 2012-2014
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef LE_FUNCTIONS_H_
|
|
|
|
#define LE_FUNCTIONS_H_
|
|
|
|
|
|
|
|
#include "engine.h"
|
|
|
|
#include "logic_expression.h"
|
|
|
|
|
2014-10-13 09:03:10 -07:00
|
|
|
// todo: the delay should probably be configurable?
|
2014-10-09 00:02:51 -07:00
|
|
|
#define FUEL_PUMP_LOGIC "time_since_boot 4 < rpm 0 > OR"
|
|
|
|
|
2014-10-05 11:03:00 -07:00
|
|
|
float getLEValue(Engine *engine, le_action_e action);
|
|
|
|
|
|
|
|
#endif /* LE_FUNCTIONS_H_ */
|