Daxbot / node-canopen

CANopen implementation for NodeJS
MIT License
32 stars 11 forks source link

EDS Boolean getters return NaN #33

Closed IrishAfrican closed 2 years ago

IrishAfrican commented 2 years ago

I think their may be a bug in the latest changes for the EDS getters where the data is defined as boolean, as the parseInt function is returning NaN instead of an integer value and hence the "this.device.eds.lssSupported" in the LSS.init function is always false. May be the same issue in other locations.

wilkinsw commented 2 years ago

Good catch, should be fixed now