1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

tests/periph_uart: only exclude STDIO_UART_DEV if stdio_uart is used

This commit is contained in:
Benjamin Valentin 2023-01-06 16:18:44 +01:00
parent 170dd0300f
commit b44d360e49

View File

@ -46,6 +46,11 @@
#define POWEROFF_DELAY (250U * US_PER_MS) /* quarter of a second */
/* if stdio is not done via UART, allow to use the stdio UART for the test */
#ifndef MODULE_STDIO_UART
#undef STDIO_UART_DEV
#endif
#ifndef STDIO_UART_DEV
#define STDIO_UART_DEV (UART_UNDEF)
#endif