From c3a5e53b5bda1828b78f6bc45104f053b0607104 Mon Sep 17 00:00:00 2001 From: Ben Suffolk Date: Wed, 12 Jun 2024 07:29:52 +0100 Subject: [PATCH] Fix for #150 --- src/dmx/hal/uart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dmx/hal/uart.c b/src/dmx/hal/uart.c index a5eed3c20..aabd1cd94 100644 --- a/src/dmx/hal/uart.c +++ b/src/dmx/hal/uart.c @@ -29,7 +29,7 @@ static struct dmx_uart_t { } dmx_uart_context[DMX_NUM_MAX] = { {.num = 0, .dev = UART_LL_GET_HW(0)}, {.num = 1, .dev = UART_LL_GET_HW(1)}, -#if DMX_NUM_MAX > 2 +#if SOC_UART_NUM > 2 {.num = 2, .dev = UART_LL_GET_HW(2)}, #endif };