This commit is contained in:
rusefillc 2024-09-09 09:37:19 -04:00
parent 6a7100b01e
commit e8d8620605
2 changed files with 5 additions and 0 deletions

View File

@ -6,6 +6,8 @@ import org.jetbrains.annotations.NotNull;
import java.nio.ByteBuffer;
/**
* inside C/C++ that's config/engineConfiguration
*
* Andrey Belomutskiy, (c) 2013-2020
* 3/6/2015
*/

View File

@ -280,6 +280,9 @@ public class BinaryProtocol {
}
}
/**
* this method patches configuration inside ECU by writing only regions with different content
*/
public void uploadChanges(ConfigurationImage newVersion) {
ConfigurationImage current = getControllerConfiguration();
// let's have our own copy which no one would be able to change