Skip to content

Commit b8980a5

Browse files
committed
Add missing ifdef FEATURE_LCD wrapping call to lcd_printf
1 parent fa4321a commit b8980a5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

DeviceCode/pal/COM/usart/usart.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,9 @@ BOOL USART_Driver::AddCharToRxBuffer( int ComPortNum, char c )
556556
SetEvent( ComPortNum, USART_EVENT_ERROR_RXOVER );
557557

558558
#if !defined(BUILD_RTM)
559+
#ifdef FEATURE_LCD
559560
lcd_printf("\fBuffer OVFLW\r\n");
561+
#endif
560562
hal_printf("Buffer OVFLW\r\n");
561563
#endif
562564
return FALSE;

0 commit comments

Comments
 (0)