i suspect that no one cares about these
This commit is contained in:
parent
954ddacd96
commit
e733782920
|
@ -299,9 +299,6 @@ uint16_t rpmAcceleration;dRPM;"RPM/s",1, 0, 0, 5, 0
|
||||||
|
|
||||||
uint16_t autoscale instantMAPValue;Instant MAP;"kPa",{1/@@PACK_MULT_PRESSURE@@}, 0, 0, 655, 2
|
uint16_t autoscale instantMAPValue;Instant MAP;"kPa",{1/@@PACK_MULT_PRESSURE@@}, 0, 0, 655, 2
|
||||||
|
|
||||||
uint16_t mostRecentTimeBetweenSparkEvents;;"", 1, 0, -10000, 10000, 3
|
|
||||||
uint16_t mostRecentTimeBetweenIgnitionEvents;;"", 1, 0, -10000, 10000, 3
|
|
||||||
|
|
||||||
uint16_t maxLockedDuration;;"us", 1, 0, 0, 65535, 0
|
uint16_t maxLockedDuration;;"us", 1, 0, 0, 65535, 0
|
||||||
uint8_t maxTriggerReentrant;;"", 1, 0, 0, 100, 0
|
uint8_t maxTriggerReentrant;;"", 1, 0, 0, 100, 0
|
||||||
|
|
||||||
|
|
|
@ -200,9 +200,6 @@ public:
|
||||||
FanControl1 fan1;
|
FanControl1 fan1;
|
||||||
FanControl2 fan2;
|
FanControl2 fan2;
|
||||||
|
|
||||||
efitick_t mostRecentSparkEvent;
|
|
||||||
efitick_t mostRecentIgnitionEvent;
|
|
||||||
|
|
||||||
PrimaryTriggerConfiguration primaryTriggerConfiguration;
|
PrimaryTriggerConfiguration primaryTriggerConfiguration;
|
||||||
#if CAMS_PER_BANK == 1
|
#if CAMS_PER_BANK == 1
|
||||||
VvtTriggerConfiguration vvtTriggerConfiguration[CAMS_PER_BANK] = {{"VVT1 ", 0}};
|
VvtTriggerConfiguration vvtTriggerConfiguration[CAMS_PER_BANK] = {{"VVT1 ", 0}};
|
||||||
|
|
|
@ -88,9 +88,6 @@ void turnInjectionPinHigh(InjectionEvent *event) {
|
||||||
void turnInjectionPinLow(InjectionEvent *event) {
|
void turnInjectionPinLow(InjectionEvent *event) {
|
||||||
efitick_t nowNt = getTimeNowNt();
|
efitick_t nowNt = getTimeNowNt();
|
||||||
|
|
||||||
engine->outputChannels.mostRecentTimeBetweenIgnitionEvents = nowNt - engine->mostRecentIgnitionEvent;
|
|
||||||
engine->mostRecentIgnitionEvent = nowNt;
|
|
||||||
|
|
||||||
event->isScheduled = false;
|
event->isScheduled = false;
|
||||||
for (int i = 0;i<MAX_WIRES_COUNT;i++) {
|
for (int i = 0;i<MAX_WIRES_COUNT;i++) {
|
||||||
InjectorOutputPin *output = event->outputs[i];
|
InjectorOutputPin *output = event->outputs[i];
|
||||||
|
|
|
@ -40,8 +40,6 @@ int isIgnitionTimingError(void) {
|
||||||
|
|
||||||
static void fireSparkBySettingPinLow(IgnitionEvent *event, IgnitionOutputPin *output) {
|
static void fireSparkBySettingPinLow(IgnitionEvent *event, IgnitionOutputPin *output) {
|
||||||
efitick_t nowNt = getTimeNowNt();
|
efitick_t nowNt = getTimeNowNt();
|
||||||
engine->outputChannels.mostRecentTimeBetweenSparkEvents = nowNt - engine->mostRecentSparkEvent;
|
|
||||||
engine->mostRecentSparkEvent = nowNt;
|
|
||||||
|
|
||||||
#if SPARK_EXTREME_LOGGING
|
#if SPARK_EXTREME_LOGGING
|
||||||
efiPrintf("spark goes low %d %s %d current=%d cnt=%d id=%d", getRevolutionCounter(), output->name, (int)getTimeNowUs(),
|
efiPrintf("spark goes low %d %s %d current=%d cnt=%d id=%d", getRevolutionCounter(), output->name, (int)getTimeNowUs(),
|
||||||
|
|
Loading…
Reference in New Issue