Skip to content

Commit 9c91b38

Browse files
nordic-krchkartben
authored andcommitted
tests: drivers: uart: mix_fifo_poll: Fix for nrf54h20dk//cpurad
Add check for status okay for dut2. Compilation was failing if dut2 existed but was disabled. Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
1 parent cc74893 commit 9c91b38

File tree

1 file changed

+1
-1
lines changed
  • tests/drivers/uart/uart_mix_fifo_poll/src

1 file changed

+1
-1
lines changed

tests/drivers/uart/uart_mix_fifo_poll/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ static struct dut_data duts[] = {
5050
.dev = DEVICE_DT_GET(UART_NODE),
5151
.name = DT_NODE_FULL_NAME(UART_NODE),
5252
},
53-
#if DT_NODE_EXISTS(DT_NODELABEL(dut2))
53+
#if DT_NODE_EXISTS(DT_NODELABEL(dut2)) && DT_NODE_HAS_STATUS(DT_NODELABEL(dut2), okay)
5454
{
5555
.dev = DEVICE_DT_GET(DT_NODELABEL(dut2)),
5656
.name = DT_NODE_FULL_NAME(DT_NODELABEL(dut2)),

0 commit comments

Comments
 (0)