mirror of https://github.com/FOME-Tech/fome-fw.git
refactoring magic constant STOICH_RATIO
This commit is contained in:
parent
d32772316d
commit
57a015e6fb
|
@ -26,6 +26,9 @@ typedef unsigned int time_t;
|
||||||
#define DEFAULT_FUEL_LOAD_COUNT 16
|
#define DEFAULT_FUEL_LOAD_COUNT 16
|
||||||
#define DEFAULT_IGN_LOAD_COUNT 16
|
#define DEFAULT_IGN_LOAD_COUNT 16
|
||||||
|
|
||||||
|
// gasoline E0
|
||||||
|
#define STOICH_RATIO 14.7f
|
||||||
|
|
||||||
// time in seconds
|
// time in seconds
|
||||||
typedef time_t efitimesec_t;
|
typedef time_t efitimesec_t;
|
||||||
|
|
||||||
|
|
|
@ -91,7 +91,7 @@
|
||||||
#define CJ125_VOLTAGE_TO_16BIT_FACTOR 4096.0f
|
#define CJ125_VOLTAGE_TO_16BIT_FACTOR 4096.0f
|
||||||
|
|
||||||
#define CJ125_PUMP_SHUNT_RESISTOR 61.9f
|
#define CJ125_PUMP_SHUNT_RESISTOR 61.9f
|
||||||
#define CJ125_STOICH_RATIO 14.7f
|
#define CJ125_STOICH_RATIO STOICH_RATIO
|
||||||
#define CJ125_PUMP_CURRENT_FACTOR 1000.0f
|
#define CJ125_PUMP_CURRENT_FACTOR 1000.0f
|
||||||
|
|
||||||
// Returned if there's no valid measurement
|
// Returned if there's no valid measurement
|
||||||
|
|
Loading…
Reference in New Issue