minor fixes
This commit is contained in:
parent
2e8ae3ca94
commit
9efd231915
|
@ -575,7 +575,7 @@ void TriggerState::decodeTriggerEvent(
|
||||||
float gap = 1.0 * toothDurations[0] / toothDurations[1];
|
float gap = 1.0 * toothDurations[0] / toothDurations[1];
|
||||||
for (int i = 0;i<triggerShape.gapTrackingLength;i++) {
|
for (int i = 0;i<triggerShape.gapTrackingLength;i++) {
|
||||||
float gap = 1.0 * toothDurations[i] / toothDurations[i + 1];
|
float gap = 1.0 * toothDurations[i] / toothDurations[i + 1];
|
||||||
print("index=%d: gap=%.2f expected from %.2f to %.2f error=%s\r\n",
|
printf("index=%d: gap=%.2f expected from %.2f to %.2f error=%s\r\n",
|
||||||
i,
|
i,
|
||||||
gap,
|
gap,
|
||||||
triggerShape.syncronizationRatioFrom[i],
|
triggerShape.syncronizationRatioFrom[i],
|
||||||
|
|
|
@ -194,7 +194,7 @@ void onConfigurationChangeRpmEmulatorCallback(engine_configuration_s *previousCo
|
||||||
}
|
}
|
||||||
|
|
||||||
void initTriggerEmulator(Logging *sharedLogger DECLARE_ENGINE_PARAMETER_SUFFIX) {
|
void initTriggerEmulator(Logging *sharedLogger DECLARE_ENGINE_PARAMETER_SUFFIX) {
|
||||||
print("Emulating %s\r\n", getConfigurationName(engineConfiguration->engineType));
|
scheduleMsg(sharedLogger, "Emulating %s", getConfigurationName(engineConfiguration->engineType));
|
||||||
|
|
||||||
for (size_t i = 0; i < efi::size(emulatorOutputs); i++)
|
for (size_t i = 0; i < efi::size(emulatorOutputs); i++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue