mirror of https://github.com/rusefi/RomRaider.git
Fixed a couple minor items.
git-svn-id: https://svn2.assembla.com/svn/romraider/trunk@354 38686702-15cf-42e4-a595-3071df8bf5ea
This commit is contained in:
parent
d28f38d53d
commit
1a7807c4d8
|
@ -85,7 +85,7 @@ public final class MTSRunner implements MTSEvents, Stoppable {
|
|||
if (mts.inputCount() > 0) {
|
||||
while (!stop) {
|
||||
// wait for newData() event to occur
|
||||
sleep(60000L);
|
||||
sleep(100L);
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
|
|
@ -45,8 +45,11 @@ public final class Lm2MtsPluginMenuAction extends AbstractAction {
|
|||
null,
|
||||
getPorts(),
|
||||
dataSource.getPort());
|
||||
port = port.substring(0, 1);
|
||||
if (port != null && port.length() > 0) dataSource.setPort(port);
|
||||
|
||||
if (port != null && port.length() > 0) {
|
||||
port = port.substring(0, 1);
|
||||
dataSource.setPort(port);
|
||||
}
|
||||
}
|
||||
|
||||
private String[] getPorts() {
|
||||
|
|
|
@ -76,7 +76,7 @@ public final class PlxParserImpl implements PlxParser {
|
|||
case EXPECTING_SECOND_HALF_OF_VALUE:
|
||||
state = EXPECTING_FIRST_HALF_OF_SENSOR_TYPE;
|
||||
int rawValue = (partialValue << 6) | b;
|
||||
LOGGER.info("PLX sensor: " + sensorType + " instance: " + instance + " value: " + rawValue );
|
||||
LOGGER.trace("PLX sensor: " + sensorType + " instance: " + instance + " value: " + rawValue );
|
||||
return new PlxResponse(sensorType, instance, rawValue);
|
||||
}
|
||||
return null;
|
||||
|
|
Loading…
Reference in New Issue