Nissan MAF
This commit is contained in:
parent
99a587a951
commit
14b6f7e948
|
@ -1,13 +1,13 @@
|
||||||
#include "pch.h"
|
#include "pch.h"
|
||||||
|
|
||||||
static int addMafPoint(persistent_config_s *e, int i, float kgHrValue, float voltage) {
|
static int addMafPoint(persistent_config_s *config, int index, float kgHrValue, float voltage) {
|
||||||
e->mafDecoding[i] = kgHrValue;
|
config->mafDecoding[index] = kgHrValue;
|
||||||
e->mafDecodingBins[i] = voltage;
|
config->mafDecodingBins[index] = voltage;
|
||||||
return i + 1;
|
return index + 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int addMafPointByVoltage(persistent_config_s *e, int i, float voltage, float kgHrValue) {
|
static int addMafPointByVoltage(persistent_config_s *config, int index, float voltage, float kgHrValue) {
|
||||||
return addMafPoint(s, i, kgHrValue, voltage);
|
return addMafPoint(config, index, kgHrValue, voltage);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void fillTheRest(persistent_config_s *e, int i) {
|
static void fillTheRest(persistent_config_s *e, int i) {
|
||||||
|
|
Loading…
Reference in New Issue