[bug]: Ambiguous error codes
Closed this issue · 1 comments
marcfir commented
The error codes in
libethercat/include/libethercat/error_codes.h
Lines 86 to 88 in cee6500
point to the same numbers here.
libethercat/include/libethercat/error_codes.h
Lines 104 to 106 in cee6500
Suggestion to change the numbers to:
#define EC_ERROR_MAILBOX_OUT_OF_SEND_BUFFERS (EC_ERROR_MAILBOX_MASK | 0x00010000) //!< \brief Mailbox ran out of read buffers. See LEC_MAX_MBX_ENTRIES.
#define EC_ERROR_MAILBOX_OUT_OF_WRITE_BUFFERS (EC_ERROR_MAILBOX_MASK | 0x00020000) //!< \brief Mailbox ran out of write buffers. See LEC_MAX_MBX_ENTRIES.
#define EC_ERROR_MAILBOX_BUFFER_TOO_SMALL (EC_ERROR_MAILBOX_MASK | 0x00040000) //!< \brief Mailbox buffer is too small.
robert-burger commented
thanks, fixed in 91d4b21