mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 06:23:53 +01:00
tests/slip: homogenize CFLAGS with slipdev driver
This commit is contained in:
parent
ec0df56b67
commit
d73ce591b2
@ -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.
|
||||
|
||||
@ -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,
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user