This commit is contained in:
Mark Qvist 2014-04-28 17:53:43 +02:00
parent d8a89c5de2
commit 13b792fcbe
4 changed files with 37 additions and 17 deletions

View file

@ -8,6 +8,8 @@
#define MP1_ENABLE_TCP_COMPATIBILITY false
#if MP1_ENABLE_TCP_COMPATIBILITY
#define MP1_ENABLE_COMPRESSION false
#else
#define MP1_ENABLE_COMPRESSION true
#endif
#define MP1_ENABLE_CSMA true
@ -15,6 +17,7 @@
#define MP1_INTERLEAVE_SIZE 12
#if MP1_ENABLE_COMPRESSION
#define MP1_MAX_FRAME_LENGTH 22 * MP1_INTERLEAVE_SIZE
#define MP1_USE_TX_QUEUE false
#else
#define MP1_MAX_FRAME_LENGTH 25 * MP1_INTERLEAVE_SIZE
#define MP1_USE_TX_QUEUE true