minor fixes

This commit is contained in:
rusefillc 2020-12-06 19:25:48 -05:00
parent 2e8ae3ca94
commit 9efd231915
2 changed files with 2 additions and 2 deletions

View File

@ -575,7 +575,7 @@ void TriggerState::decodeTriggerEvent(
float gap = 1.0 * toothDurations[0] / toothDurations[1];
for (int i = 0;i<triggerShape.gapTrackingLength;i++) {
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,
gap,
triggerShape.syncronizationRatioFrom[i],

View File

@ -194,7 +194,7 @@ void onConfigurationChangeRpmEmulatorCallback(engine_configuration_s *previousCo
}
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++)
{