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, }, };