forked from robincornelius/libedssharp
-
Notifications
You must be signed in to change notification settings - Fork 85
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
ODentry constructor for array subobjects duplicate objecttype set.
eds.cs in libEDSSharp line: 1127
/// <summary>
/// ODEntry constructor for array subobjects
/// </summary>
/// <param name="parameter_name"></param>
/// <param name="index"></param>
/// <param name="nosubindex"></param>
public ODentry(string parameter_name,UInt16 index, byte nosubindex)
{
this.parameter_name = parameter_name;
this.objecttype = ObjectType.ARRAY; <============
this.Index = index;
//this.nosubindexes = nosubindex;
this.objecttype = ObjectType.VAR; <=============
}
Version used
latest main
Expected behavior
Dunno, maybe this.objecttype = ObjectType.VAR only?
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working