From d73ce591b2a09e248f3c92a26bcb19aa9f031e74 Mon Sep 17 00:00:00 2001 From: Daniel Lockau Date: Mon, 14 Feb 2022 11:30:17 +0100 Subject: [PATCH] tests/slip: homogenize CFLAGS with slipdev driver --- tests/slip/Makefile | 4 ++-- tests/slip/slipdev_params.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/slip/Makefile b/tests/slip/Makefile index 9085a63a06..bfc497ea85 100644 --- a/tests/slip/Makefile +++ b/tests/slip/Makefile @@ -13,8 +13,8 @@ SLIP_UART ?= "UART_NUMOF-1" SLIP_BAUDRATE ?= 115200 # export slip parameters -CFLAGS += -DSLIP_UART="UART_DEV($(SLIP_UART))" -CFLAGS += -DSLIP_BAUDRATE=$(SLIP_BAUDRATE) +CFLAGS += -DSLIPDEV_PARAM_UART="UART_DEV($(SLIP_UART))" +CFLAGS += -DSLIPDEV_PARAM_BAUDRATE=$(SLIP_BAUDRATE) # add current directory to the include path. Putting it in CFLAGS will make # it go to the beginning, before the standard includes. diff --git a/tests/slip/slipdev_params.h b/tests/slip/slipdev_params.h index bd3979ab0a..73e797e88b 100644 --- a/tests/slip/slipdev_params.h +++ b/tests/slip/slipdev_params.h @@ -27,8 +27,8 @@ extern "C" { static slipdev_params_t slipdev_params[] = { { - .uart = SLIP_UART, - .baudrate = SLIP_BAUDRATE, + .uart = SLIPDEV_PARAM_UART, + .baudrate = SLIPDEV_PARAM_BAUDRATE, }, };