auto-sync

This commit is contained in:
rusEfi 2015-07-10 01:01:33 -04:00
parent dc727b3076
commit 0c70061efb
3 changed files with 8 additions and 1 deletions

View File

@ -49,7 +49,10 @@ public class TcpIoStream implements IoStream {
byte b[] = new byte[1];
while (true) {
try {
stream.read(b);
int result = stream.read(b);
if (result == -1) {
System.err.println("End of stream?");
}
listener.onDataArrived(b);
} catch (IOException e) {
System.err.println("End of connection");

View File

@ -30,6 +30,7 @@ import static com.rusefi.ui.storage.PersistentConfiguration.getConfig;
* @author Andrey Belomutskiy
* <p/>
* 2/14/14
* @see SimulatorHelper
*/
public class StartupFrame {
// todo: figure out a better way to work with absolute path

View File

@ -68,6 +68,9 @@ float getMap(void) {
}
void rusEfiFunctionalTest(void) {
printToWin32Console("Running version:");
printToWin32Console("TODO");
initializeConsole(&sharedLogger);
initFakeBoard();