Removed obsolete mailbox type name and clarified documentation.

This commit is contained in:
Florian Pose 2014-11-06 08:55:35 +01:00 committed by Bjarne von Horn
parent 5a255fce3d
commit 0e25f6d80f
2 changed files with 6 additions and 1 deletions

View File

@ -130,6 +130,9 @@ typedef enum {
} ec_slave_state_t;
/** Supported mailbox protocols.
*
* Not to mix up with the mailbox type field in the mailbox header defined in
* master/mailbox.h.
*/
enum {
EC_MBOX_AOE = 0x01, /**< ADS over EtherCAT */

View File

@ -46,8 +46,10 @@
#define EC_MBOX_HEADER_SIZE 6
/** Mailbox types.
*
* These are used in the 'Type' field of the mailbox header.
*/
enum ec_mbox_types {
enum {
EC_MBOX_TYPE_EOE = 0x02,
EC_MBOX_TYPE_COE = 0x03,
EC_MBOX_TYPE_FOE = 0x04,