This commit is contained in:
Robin 2021-10-21 13:35:27 +02:00
parent ab3b6266bb
commit ebc8f82c77
1 changed files with 3 additions and 10 deletions

View File

@ -200,9 +200,8 @@ public class BMWCodingConversionLayer implements ConversionLayer {
0004 - FSW_PSW - WW - FSWINDEX,PSWINDEX 0004 - FSW_PSW - WW - FSWINDEX,PSWINDEX
0005 - FSW - W - FSWINDEX 0005 - FSW - W - FSWINDEX
*/ */
String currentOption = "";
String currentOption = "";
for(int i=0xEA; i < fswInput.length;) { for(int i=0xEA; i < fswInput.length;) {
int oldIndex = i; int oldIndex = i;
@ -490,14 +489,8 @@ public class BMWCodingConversionLayer implements ConversionLayer {
//Whats operation? //Whats operation?
int operationLen = 0xFFFF & dataBuffer.getShort(i); int operationLen = 0xFFFF & dataBuffer.getShort(i);
i+=operationLen; i+=operationLen;
//byte unit = dataBuffer.get(i+2);
try {
byte unit = dataBuffer.get(i+2);
}
catch(Exception e) {
e.printStackTrace();
}
//Create actual node in rom //Create actual node in rom
for(BMWRomManager man: romManagers){ for(BMWRomManager man: romManagers){
Element table = man.createTable(nameFSWD, Element table = man.createTable(nameFSWD,