Skip to content

Commit e0d55e2

Browse files
[CSA-CP] Add conditional compilation for UART.h (#540)
1 parent beeb408 commit e0d55e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/platform/silabs/SoftwareFaultReports.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@
2626
#include <lib/support/CodeUtils.h>
2727
#include <platform/CHIPDeviceLayer.h>
2828
#include <platform/DiagnosticDataProvider.h>
29-
#include <uart.h>
3029

3130
// Macro to flush UART TX queue if enabled
3231
#if SILABS_LOG_OUT_UART
32+
#include <uart.h>
3333
#define SILABS_UART_FLUSH() uartFlushTxQueue()
3434
#else
3535
#define SILABS_UART_FLUSH() ((void) 0)

0 commit comments

Comments
 (0)