mirror of https://github.com/FOME-Tech/fome-fw.git
auto-sync
This commit is contained in:
parent
2621853e0d
commit
5c193865b8
|
@ -21,6 +21,10 @@ void setSachs(engine_configuration_s *engineConfiguration) {
|
||||||
engineConfiguration->specs.firingOrder = FO_ONE_CYLINDER;
|
engineConfiguration->specs.firingOrder = FO_ONE_CYLINDER;
|
||||||
engineConfiguration->digitalChartSize = 400;
|
engineConfiguration->digitalChartSize = 400;
|
||||||
|
|
||||||
|
// set_injection_offset 0
|
||||||
|
engineConfiguration->injectionAngle = 0;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* We treat the trigger as 1/0 toothed wheel
|
* We treat the trigger as 1/0 toothed wheel
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -422,7 +422,7 @@ void runBinaryProtocolLoop(ts_channel_s *tsChannel, bool_t isConsoleRedirect) {
|
||||||
|
|
||||||
int recieved = chnReadTimeout(tsChannel->channel, &firstByte, 1, TS_READ_TIMEOUT);
|
int recieved = chnReadTimeout(tsChannel->channel, &firstByte, 1, TS_READ_TIMEOUT);
|
||||||
if (recieved != 1) {
|
if (recieved != 1) {
|
||||||
tunerStudioError("ERROR: no command");
|
// tunerStudioError("ERROR: no command");
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
// scheduleMsg(logger, "Got first=%x=[%c]", firstByte, firstByte);
|
// scheduleMsg(logger, "Got first=%x=[%c]", firstByte, firstByte);
|
||||||
|
|
Loading…
Reference in New Issue