Skip to content

Commit

Permalink
tests/test_pnet: use defaulttransceiver
Browse files Browse the repository at this point in the history
  • Loading branch information
LudwigKnuepfer authored and kaspar030 committed Apr 3, 2014
1 parent 8f4246e commit f1cb8cf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
11 changes: 1 addition & 10 deletions tests/test_pnet/Makefile
Original file line number Diff line number Diff line change
@@ -1,20 +1,11 @@
export PROJECT =test_pnet
include ../Makefile.tests_common

ifeq ($(BOARD),stm32f4discovery)
include Makefile.$(BOARD)
endif

USEMODULE += auto_init
USEMODULE += posix
USEMODULE += pnet
USEMODULE += vtimer

ifeq ($(strip $(BOARD)),native)
USEMODULE += nativenet
else ifeq ($(strip $(BOARD)),msba2)
USEMODULE += cc110x_ng
endif
USEMODULE += defaulttransceiver

ifeq ($(BOARD),native)
CFLAGS += -isystem $(RIOTBASE)/sys/net/include \
Expand Down
6 changes: 0 additions & 6 deletions tests/test_pnet/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,6 @@
#include "net_if.h"
#include "ipv6.h"

#ifdef MODULE_NATIVENET
#define TRANSCEIVER TRANSCEIVER_NATIVE
#else
#define TRANSCEIVER TRANSCEIVER_CC1100
#endif

#ifndef R_ADDR
#define R_ADDR (1)
#endif
Expand Down

0 comments on commit f1cb8cf

Please sign in to comment.