Daxbot / node-canopen

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

[v2 Beta] Bug in Pdo.write when the pdo is linked to a subentry #16

Closed bdcdekimo closed 3 years ago

bdcdekimo commented 3 years ago

I think entry = entry[pdo.subIndex]; in pdo.js:138 should be entry = entry[pdo.dataObjects[i].subIndex]; instead.

wilkinsw commented 3 years ago

I'll fix it today, thanks!