auto-sync
This commit is contained in:
parent
dc727b3076
commit
0c70061efb
|
@ -49,7 +49,10 @@ public class TcpIoStream implements IoStream {
|
||||||
byte b[] = new byte[1];
|
byte b[] = new byte[1];
|
||||||
while (true) {
|
while (true) {
|
||||||
try {
|
try {
|
||||||
stream.read(b);
|
int result = stream.read(b);
|
||||||
|
if (result == -1) {
|
||||||
|
System.err.println("End of stream?");
|
||||||
|
}
|
||||||
listener.onDataArrived(b);
|
listener.onDataArrived(b);
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
System.err.println("End of connection");
|
System.err.println("End of connection");
|
||||||
|
|
|
@ -30,6 +30,7 @@ import static com.rusefi.ui.storage.PersistentConfiguration.getConfig;
|
||||||
* @author Andrey Belomutskiy
|
* @author Andrey Belomutskiy
|
||||||
* <p/>
|
* <p/>
|
||||||
* 2/14/14
|
* 2/14/14
|
||||||
|
* @see SimulatorHelper
|
||||||
*/
|
*/
|
||||||
public class StartupFrame {
|
public class StartupFrame {
|
||||||
// todo: figure out a better way to work with absolute path
|
// todo: figure out a better way to work with absolute path
|
||||||
|
|
|
@ -68,6 +68,9 @@ float getMap(void) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void rusEfiFunctionalTest(void) {
|
void rusEfiFunctionalTest(void) {
|
||||||
|
printToWin32Console("Running version:");
|
||||||
|
printToWin32Console("TODO");
|
||||||
|
|
||||||
initializeConsole(&sharedLogger);
|
initializeConsole(&sharedLogger);
|
||||||
|
|
||||||
initFakeBoard();
|
initFakeBoard();
|
||||||
|
|
Loading…
Reference in New Issue