auto-sync

This commit is contained in:
rusEfi 2016-02-06 23:03:21 -05:00
parent f317365b26
commit 4e15b989f2
2 changed files with 7 additions and 5 deletions

View File

@ -35,10 +35,12 @@ public class PortHolder {
if (port == null)
return false;
boolean result = open(port, dataListener);
if (result) {
listener.onConnectionEstablished();
} else {
listener.onConnectionFailed();
if (listener != null) {
if (result) {
listener.onConnectionEstablished();
} else {
listener.onConnectionFailed();
}
}
return result;
}

View File

@ -32,7 +32,7 @@ import static com.rusefi.ui.storage.PersistentConfiguration.getConfig;
* @see EngineSnifferPanel
*/
public class Launcher {
public static final int CONSOLE_VERSION = 20160205;
public static final int CONSOLE_VERSION = 20160206;
public static final boolean SHOW_STIMULATOR = false;
private static final String TAB_INDEX = "main_tab";
protected static final String PORT_KEY = "port";