Skip to content
Commit ad25e776 authored by Jordan Yates's avatar Jordan Yates Committed by Carles Cufí
Browse files

serial: uart_nrfx_uarte: async compilation warning



Only compile in async related code when at least one UARTE instance has
enabled async mode. This fixes an "unused function" warning when
`CONFIG_UART_ASYNC_API` is enabled but no UARTE instances has async
enabled. This is possible when the async API is being used for an RTT
UART driver.

Signed-off-by: default avatarJordan Yates <jordan.yates@data61.csiro.au>
parent 5009f8b2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment