From 5c193865b805d2090d1005013b98f4ea2737d5b9 Mon Sep 17 00:00:00 2001 From: rusEfi Date: Sun, 22 Mar 2015 15:04:53 -0500 Subject: [PATCH] auto-sync --- firmware/config/engines/sachs.cpp | 4 ++++ firmware/console/binary/tunerstudio.cpp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/firmware/config/engines/sachs.cpp b/firmware/config/engines/sachs.cpp index 9d215b35db..ddbf3d790c 100644 --- a/firmware/config/engines/sachs.cpp +++ b/firmware/config/engines/sachs.cpp @@ -21,6 +21,10 @@ void setSachs(engine_configuration_s *engineConfiguration) { engineConfiguration->specs.firingOrder = FO_ONE_CYLINDER; engineConfiguration->digitalChartSize = 400; + // set_injection_offset 0 + engineConfiguration->injectionAngle = 0; + + /** * We treat the trigger as 1/0 toothed wheel */ diff --git a/firmware/console/binary/tunerstudio.cpp b/firmware/console/binary/tunerstudio.cpp index e2792328a6..550000e173 100644 --- a/firmware/console/binary/tunerstudio.cpp +++ b/firmware/console/binary/tunerstudio.cpp @@ -422,7 +422,7 @@ void runBinaryProtocolLoop(ts_channel_s *tsChannel, bool_t isConsoleRedirect) { int recieved = chnReadTimeout(tsChannel->channel, &firstByte, 1, TS_READ_TIMEOUT); if (recieved != 1) { - tunerStudioError("ERROR: no command"); +// tunerStudioError("ERROR: no command"); continue; } // scheduleMsg(logger, "Got first=%x=[%c]", firstByte, firstByte);