drivers: serial: nrfx_uarte: rm NRF_GPD_FAST_ACTIVE1 build assert

The assert BUILD_ASSERT(NRF_GPD_FAST_ACTIVE1 == 0); is not correct
given that NRF_GPD_FAST_ACTIVE1 is defined as 1U, and is not used
in the file anyway. Remove the build assert.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
This commit is contained in:
Bjarki Arge Andreasen 2024-12-12 10:22:54 +01:00 committed by Benjamin Cabé
parent 3c7e49956d
commit 7487eabd33

View file

@ -110,7 +110,6 @@ LOG_MODULE_REGISTER(uart_nrfx_uarte, CONFIG_UART_LOG_LEVEL);
#define UARTE_ANY_LOW_POWER 1
#endif
BUILD_ASSERT(NRF_GPD_FAST_ACTIVE1 == 0);
/* Macro must resolve to literal 0 or 1 */
#define INSTANCE_IS_FAST(unused, prefix, idx, _) \
COND_CODE_1(DT_NODE_HAS_STATUS_OKAY(UARTE(idx)), \