auto-sync

This commit is contained in:
rusEfi 2015-03-06 21:10:09 -06:00
parent fad2c90887
commit 9a038c3ab8
3 changed files with 7 additions and 0 deletions

View File

@ -3,6 +3,7 @@
* @brief 1996 Ford Aspire default engine configuration * @brief 1996 Ford Aspire default engine configuration
* *
* FORD_ASPIRE_1996 = 3 * FORD_ASPIRE_1996 = 3
* set_engine_type 3
* *
* @date Sep 9, 2013 * @date Sep 9, 2013
* @author Andrey Belomutskiy, (c) 2012-2015 * @author Andrey Belomutskiy, (c) 2012-2015

View File

@ -31,4 +31,8 @@ public class ConfigurationImage {
fos.close(); fos.close();
System.out.println("Saved to " + fileName); System.out.println("Saved to " + fileName);
} }
public byte[] getContent() {
return content;
}
} }

View File

@ -155,6 +155,8 @@ public class BinaryProtocol {
} }
System.arraycopy(response, 1, image.getContent(), offset, requestSize);
offset += requestSize; offset += requestSize;
} }
System.out.println("Got image!"); System.out.println("Got image!");