From 119cc65abac5f50ddbe1141cbf1ea188f39a2f42 Mon Sep 17 00:00:00 2001 From: NĂ©lio Laranjeiro Date: Tue, 25 Sep 2012 16:36:45 +0200 Subject: cesar/mac/sar: make pb_stats context always present, closes #3385 --- cesar/mac/sar/Module | 5 +---- cesar/mac/sar/inc/context.h | 2 -- 2 files changed, 1 insertion(+), 6 deletions(-) (limited to 'cesar/mac') diff --git a/cesar/mac/sar/Module b/cesar/mac/sar/Module index 110a19de2b..57228862d9 100644 --- a/cesar/mac/sar/Module +++ b/cesar/mac/sar/Module @@ -1,11 +1,8 @@ SOURCES := beacon.c brg.c mfs.c rx.c sar.c expiration.c mf_header.c \ - tx.c + tx.c pb_stats.c ifeq ($(CONFIG_TRACE),y) SOURCES += trace.c endif -ifeq ($(CONFIG_SAR_PB_STATS),y) -SOURCES += pb_stats.c -endif ifeq ($(ECOS),y) SOURCES += thread.c endif diff --git a/cesar/mac/sar/inc/context.h b/cesar/mac/sar/inc/context.h index 5ac23a0d97..515818c500 100644 --- a/cesar/mac/sar/inc/context.h +++ b/cesar/mac/sar/inc/context.h @@ -194,9 +194,7 @@ struct sar_t #if CONFIG_SEQ_CHECK lib_seq_check_t seq; #endif -#if CONFIG_SAR_PB_STATS sar_pb_stats_t pb_stats; -#endif }; #endif /* mac_sar_inc_context_h */ -- cgit v1.2.3