From b1c57a9755f3ec3c755b81fc7411757b54ce6047 Mon Sep 17 00:00:00 2001 From: Oleg Hahm Date: Wed, 14 Aug 2013 17:52:27 +0200 Subject: [PATCH] removed duplicated paragraph --- sys/include/transceiver.h | 32 ++++++++------------------------ 1 file changed, 8 insertions(+), 24 deletions(-) diff --git a/sys/include/transceiver.h b/sys/include/transceiver.h index cf74246e84..ad0365549a 100644 --- a/sys/include/transceiver.h +++ b/sys/include/transceiver.h @@ -1,27 +1,27 @@ #ifndef TRANSCEIVER_H #define TRANSCEIVER_H -#include +#include "radio/types.h" /* supported transceivers * * NOTE: necessary to include here again due to * https://github.com/RIOT-OS/RIOT/issues/117 */ #ifdef MODULE_CC110X -#include +#include "cc1100-interface.h" #endif #ifdef MODULE_CC110X_NG -#include +#include "cc110x_ng.h" #endif #ifdef MODULE_CC2420 -#include +#include "cc2420.h" #endif #ifdef MODULE_MC1322X -#include -#include -#include +#include "mc1322x.h" +#include "maca.h" +#include "maca_packet.h" #endif /* Stack size for transceiver thread */ @@ -29,22 +29,6 @@ #define TRANSCEIVER_STACK_SIZE (512) #endif -#ifndef PAYLOAD_SIZE -#define PAYLOAD_SIZE (0) -#endif -#ifdef MODULE_CC110X -#if (CC1100_MAX_DATA_LENGTH > PAYLOAD_SIZE) -#undef PAYLOAD_SIZE -#define PAYLOAD_SIZE (CC1100_MAX_DATA_LENGTH) -#endif -#endif -#ifdef MODULE_CC110X_NG -#if (CC1100_MAX_DATA_LENGTH > PAYLOAD_SIZE) -#undef PAYLOAD_SIZE -#define PAYLOAD_SIZE (CC1100_MAX_DATA_LENGTH) -#endif -#endif - #define PAYLOAD_SIZE (0) #ifdef MODULE_CC110X #if (CC1100_MAX_DATA_LENGTH > PAYLOAD_SIZE) @@ -56,7 +40,7 @@ #if (CC1100_MAX_DATA_LENGTH > PAYLOAD_SIZE) #undef PAYLOAD_SIZE #define PAYLOAD_SIZE (CC1100_MAX_DATA_LENGTH) - #endif +#endif #endif #ifdef MODULE_CC2420 #if (CC2420_MAX_DATA_LENGTH > PAYLOAD_SIZE)