You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
odf.Filter="All supported files (*.eds;*.xml;*.xdd;*.dcf)|*.eds;*.xml;*.xdd;*.dcf|Electronic Data Sheets (*.eds)|*.eds|Device Configuration Files (*.dcf)|*.dcf|CanOpen Xml Data sheet (*.xdd)|*.xdd|CanOpenNode XML (*.xml)|*.xml";
239
+
odf.Filter="All supported files (*.eds;*.xml;*.xdd;*.dcf)|*.eds;*.xml;*.xdd;*.dcf|Electronic Data Sheets (*.eds)|*.eds|Device Configuration Files (*.dcf)|*.dcf|CANopen Xml Data sheet (*.xdd)|*.xdd|CANopenNode XML (*.xml)|*.xml";
if(od.Index!=0x1003&&od.Index!=0x1011)//ignore 0x1003, it is a special case as per canopen specs, and ignore 0x1011 canopennode uses special sub indexes for eeprom resets
932
+
if(od.Index!=0x1003&&od.Index!=0x1011)//ignore 0x1003, it is a special case as per CANopen specs, and ignore 0x1011 CANopenNode uses special sub indexes for eeprom resets
933
933
{
934
934
Warnings.warning_list.Add(String.Format("Subindex discrepancy on object 0x{0:x4} arraysize: {1} vs max sub-index: {2}",od.Index,nosubindexs,od.Getmaxsubindex()));
935
935
}
936
936
937
-
//0x1003 is a special case for CanOpenNode
937
+
//0x1003 is a special case for CANopenNode
938
938
//SubIndex 0 will probably be 0 for no errors
939
-
//so we cannot read that to determine max subindex size, which is required to set up CanOpenNode so we leave it alone here
939
+
//so we cannot read that to determine max subindex size, which is required to set up CANopenNode so we leave it alone here
0 commit comments