auto-sync

This commit is contained in:
rusEfi 2015-03-22 15:04:53 -05:00
parent 048d3960dc
commit bac390db03
2 changed files with 5 additions and 1 deletions

View File

@ -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
*/

View File

@ -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);