robincornelius / libedssharp

A CanOpen EDS editor and library in C# with CanOpenNode export for Object Dictionary
GNU General Public License v3.0
227 stars 134 forks source link

Data type DOMAIN doesn't work #251

Open jdascenzio opened 3 years ago

jdascenzio commented 3 years ago

Hi! In Object Dictionary, when I select DOMAIN for data type, the variable generates in OD.c is like: dataElementSizeof = sizeof(not specified) Thank you for any help!

CANopenNode commented 3 years ago

Correct should be: dataElementSizeof = 0

Data size for domain is application specific. I sent PR with fixes.

jdascenzio commented 3 years ago

Thanks for your fixes!