Merge pull request #521 from nakarlsson/master
Adjust size of ec_EOE_t to max mailbox size
This commit is contained in:
commit
219670218b
|
@ -16,10 +16,12 @@ extern "C"
|
||||||
{
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "ethercattype.h"
|
#include "ethercat.h"
|
||||||
|
|
||||||
/* use maximum size for EOE mailbox data */
|
/* use maximum size for EOE mailbox data - mbxheader and 2x frameinfo */
|
||||||
#define EC_MAXEOEDATA EC_MAXMBX
|
#define EC_MAXEOEDATA (EC_MAXMBX - (sizeof(ec_mbxheadert) +\
|
||||||
|
sizeof(uint16_t) +\
|
||||||
|
sizeof(uint16_t)))
|
||||||
|
|
||||||
/** DNS length according to ETG 1000.6 */
|
/** DNS length according to ETG 1000.6 */
|
||||||
#define EOE_DNS_NAME_LENGTH 32
|
#define EOE_DNS_NAME_LENGTH 32
|
||||||
|
|
Loading…
Reference in New Issue