From 3db895a9323908aab3440d5b508eb4fd84035df1 Mon Sep 17 00:00:00 2001 From: "Martine S. Lenders" Date: Thu, 5 Mar 2020 20:14:14 +0100 Subject: [PATCH] examples: remove unnecessary slipdev_params.h --- examples/gcoap/Makefile.slip | 5 ++--- examples/gcoap/slipdev_params.h | 39 --------------------------------- 2 files changed, 2 insertions(+), 42 deletions(-) delete mode 100644 examples/gcoap/slipdev_params.h diff --git a/examples/gcoap/Makefile.slip b/examples/gcoap/Makefile.slip index 1e32b3ba10..77d3cbf751 100644 --- a/examples/gcoap/Makefile.slip +++ b/examples/gcoap/Makefile.slip @@ -29,9 +29,8 @@ ifeq (,$(SLIP_BAUDRATE)) endif GNRC_NETIF_NUMOF := 2 -INCLUDES += -I$(CURDIR) -CFLAGS += -DSLIP_UART=$(SLIP_UART) -CFLAGS += -DSLIP_BAUDRATE=$(SLIP_BAUDRATE) +CFLAGS += -DSLIPDEV_PARAM_UART=$(SLIP_UART) +CFLAGS += -DSLIPDEV_PARAM_BAUDRATE=$(SLIP_BAUDRATE) # Include packages that pull up and auto-init the link layer. # NOTE: 6LoWPAN will be included if IEEE802.15.4 devices are present diff --git a/examples/gcoap/slipdev_params.h b/examples/gcoap/slipdev_params.h deleted file mode 100644 index bd3979ab0a..0000000000 --- a/examples/gcoap/slipdev_params.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2015 Martine Lenders - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. - */ - -/** - * @ingroup tests - * @{ - * - * @file - * @brief slip parameters example, used by auto_init_gnrc_netif - * - * @author Martine Lenders - */ - -#ifndef SLIPDEV_PARAMS_H -#define SLIPDEV_PARAMS_H - -#include "slipdev.h" - -#ifdef __cplusplus -extern "C" { -#endif - -static slipdev_params_t slipdev_params[] = { - { - .uart = SLIP_UART, - .baudrate = SLIP_BAUDRATE, - }, -}; - -#ifdef __cplusplus -} -#endif -#endif /* SLIPDEV_PARAMS_H */ -/** @} */