they are unable to tune in Seattle?

This commit is contained in:
Andrey 2022-04-17 18:53:50 -04:00
parent d82157cd68
commit 8cc4a4f53a
2 changed files with 6 additions and 1 deletions

View File

@ -7,6 +7,7 @@ import com.rusefi.core.SensorCentral;
import org.junit.Test;
import static com.devexperts.util.TimeUtil.SECOND;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
public class MiscTest extends RusefiTestBase {
@ -27,6 +28,8 @@ public class MiscTest extends RusefiTestBase {
}
System.out.println("MCU temperature is " + mcuTemp + " deg C");
BinaryProtocol bp = ecu.getLinkManager().getCurrentStreamState();
assertTrue("Happy OutputChannels expected", bp.isGoodOutputChannels);
// You are probably indoors and not on fire
String message = "mcuTemp is " + mcuTemp;

View File

@ -56,6 +56,7 @@ public class BinaryProtocol {
private final IncomingDataBuffer incomingData;
private boolean isBurnPending;
public String signature;
public boolean isGoodOutputChannels;
private final BinaryProtocolState state = new BinaryProtocolState();
@ -193,7 +194,8 @@ public class BinaryProtocol {
linkManager.submit(new Runnable() {
@Override
public void run() {
if (requestOutputChannels())
isGoodOutputChannels = requestOutputChannels();
if (isGoodOutputChannels)
HeartBeatListeners.onDataArrived();
binaryProtocolLogger.compositeLogic(BinaryProtocol.this);
if (linkManager.isNeedPullText()) {