minor fixes
This commit is contained in:
parent
75f81de3a6
commit
1fb7a94d73
|
@ -452,9 +452,6 @@ void printAllTriggers() {
|
||||||
for (int triggerId = 1; triggerId < TT_UNUSED; triggerId++) {
|
for (int triggerId = 1; triggerId < TT_UNUSED; triggerId++) {
|
||||||
trigger_type_e tt = (trigger_type_e) triggerId;
|
trigger_type_e tt = (trigger_type_e) triggerId;
|
||||||
|
|
||||||
// if (triggerId != 20)
|
|
||||||
// continue;
|
|
||||||
|
|
||||||
printf("Exporting %s\r\n", getTrigger_type_e(tt));
|
printf("Exporting %s\r\n", getTrigger_type_e(tt));
|
||||||
|
|
||||||
persistent_config_s pc;
|
persistent_config_s pc;
|
||||||
|
|
|
@ -299,7 +299,7 @@ void TriggerState::decodeTriggerEvent(trigger_event_e const signal, efitime_t no
|
||||||
actualSynchGap = gap;
|
actualSynchGap = gap;
|
||||||
for (int i = 0;i<GAP_TRACKING_LENGTH;i++) {
|
for (int i = 0;i<GAP_TRACKING_LENGTH;i++) {
|
||||||
float gap = 1.0 * toothDurations[i] / toothDurations[i + 1];
|
float gap = 1.0 * toothDurations[i] / toothDurations[i + 1];
|
||||||
print("%d: cur %.2f expected from %.2f to %.2f error=%d",
|
print("%d: cur %.2f expected from %.2f to %.2f error=%d\r\n",
|
||||||
i,
|
i,
|
||||||
gap,
|
gap,
|
||||||
TRIGGER_SHAPE(syncronizationRatioFrom[i]),
|
TRIGGER_SHAPE(syncronizationRatioFrom[i]),
|
||||||
|
@ -673,8 +673,9 @@ void TriggerShape::initializeTriggerShape(Logging *logger DECLARE_ENGINE_PARAMET
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Moved here from mainTriggerCallback()
|
if (!shapeDefinitionError) {
|
||||||
prepareOutputSignals(PASS_ENGINE_PARAMETER_SIGNATURE);
|
prepareOutputSignals(PASS_ENGINE_PARAMETER_SIGNATURE);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void onFindIndexCallback(TriggerState *state) {
|
static void onFindIndexCallback(TriggerState *state) {
|
||||||
|
|
Loading…
Reference in New Issue