rtlabs-com / c-open

CANopen stack for embedded devices
http://www.rt-labs.com
Other
79 stars 40 forks source link

SDO abort codes not exported #9

Closed nattgris closed 4 years ago

nattgris commented 4 years ago

The public co_api header defines the co_access_fn function type. But when implementing such an access function, you probably need one or more of the CO_SDO_ABORT codes which are only defined in the private co_sdo header.

hefloryd commented 4 years ago

Good point, they should be moved to the public header.

hefloryd commented 4 years ago

See PR #10. Additionally co_access_fn should probably return co_sdo_abort_t instead of uint32_t.