drivers: serial: nrfx_uarte: fix deprecation warning when UART is unused
This hides the deprecation warning when UART_NRFX_UARTE_LEGACY_SHIM is false because UART is not used. Signed-off-by: Xudong Zheng <7pkvm5aw@slicealias.com>
This commit is contained in:
parent
9d34d5c104
commit
fac7c86568
1 changed files with 1 additions and 0 deletions
|
@ -200,6 +200,7 @@ config NRF_PLATFORM_HALTIUM
|
|||
config DEPRECATED_UART_NRFX_UARTE_LEGACY_SHIM
|
||||
bool
|
||||
default y if !UART_NRFX_UARTE_LEGACY_SHIM
|
||||
depends on UART_NRFX_UARTE
|
||||
select DEPRECATED
|
||||
|
||||
endif # SOC_FAMILY_NORDIC_NRF
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue