From 2b8da20476090b6cd7a9016038d69d33e9ad6759 Mon Sep 17 00:00:00 2001 From: Ludwig Ortmann Date: Thu, 15 Aug 2013 13:51:40 +0200 Subject: [PATCH] fix PAYLOAD_SIZE define --- sys/include/transceiver.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/include/transceiver.h b/sys/include/transceiver.h index ae35a4b9a7..152406d9bb 100644 --- a/sys/include/transceiver.h +++ b/sys/include/transceiver.h @@ -29,7 +29,9 @@ #define TRANSCEIVER_STACK_SIZE (KERNEL_CONF_STACKSIZE_DEFAULT) #endif +#ifndef PAYLOAD_SIZE #define PAYLOAD_SIZE (0) +#endif #ifdef MODULE_CC110X #if (CC1100_MAX_DATA_LENGTH > PAYLOAD_SIZE) #undef PAYLOAD_SIZE