Skip to content

Commit

Permalink
impliment hack to make it work with file from issue 29 and test
Browse files Browse the repository at this point in the history
  • Loading branch information
nimrof committed Mar 15, 2024
1 parent caf9714 commit 8c21a1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libEDSsharp/CanOpenXDD.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/*
This file is part of libEDSsharp.
libEDSsharp is free software: you can redistribute it and/or modify
Expand Down Expand Up @@ -1118,7 +1118,7 @@ public EDSsharp convert(ISO15745ProfileContainer container)

subentry.uniqueID = subobj.uniqueIDRef;

entry.subobjects.Add(subobj.subIndex[1], subentry);
entry.subobjects.Add(subobj.subIndex[subobj.subIndex.Length - 1], subentry);

}
}
Expand Down

0 comments on commit 8c21a1a

Please sign in to comment.