Skip to content

Commit f123c4f

Browse files
mattia-moffadanielinux
authored andcommitted
Allow UART_FLASH without DEBUG_UART
1 parent e80a93d commit f123c4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hal/nrf54l.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
/* UART */
3939

40-
#ifdef DEBUG_UART
40+
#if defined(DEBUG_UART) || (UART_FLASH)
4141

4242
#define UART_WRITE_BUF_SIZE 128
4343

@@ -134,7 +134,7 @@ void uart_write(const char* buf, unsigned int sz)
134134
uart_write_device(DEVICE_MONITOR, buf, sz);
135135
}
136136

137-
#endif /* DEBUG_UART */
137+
#endif /* DEBUG_UART || UART_FLASH */
138138

139139
#if (defined DEBUG_UART || UART_FLASH)
140140
#define UART_RX_TIMEOUT 1000000UL

0 commit comments

Comments
 (0)