Commit 147e3d69 authored by Aurelio Colosimo's avatar Aurelio Colosimo Committed by Alessandro Rubini

Fix WR_ANNOUNCE_LENGTH value

This partially reverts commit 9bd032a6, see wrspec.v2.06-07-2011, page 28
Signed-off-by: Aurelio Colosimo's avatarAurelio Colosimo <aurelio@aureliocolosimo.it>
parent 0d3d2d4c
......@@ -32,7 +32,8 @@
/* White Rabbit package Size */
#define WR_ANNOUNCE_TLV_LENGTH 0x0A
#define WR_ANNOUNCE_LENGTH (PP_ANNOUNCE_LENGTH + WR_ANNOUNCE_TLV_LENGTH)
/* The +4 is for tlvType (2 bytes) and lengthField (2 bytes) */
#define WR_ANNOUNCE_LENGTH (PP_ANNOUNCE_LENGTH + WR_ANNOUNCE_TLV_LENGTH + 4)
/* memory footprint tweak for WRPC */
#ifdef WRPC_EXTRA_SLIM
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment