Skip to content

Commit f13ede4

Browse files
committed
define SERIAL_UART_INSTANCE
1 parent 0968ea7 commit f13ede4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

variants/RAK811/variant.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ enum {
131131

132132
// UART Definitions
133133
// Define here Serial instance number to map on Serial generic name
134-
#define SERIAL_UART_INSTANCE x //ex: 2 for Serial2 (USART2)
134+
#define SERIAL_UART_INSTANCE 2 //ex: 2 for Serial2 (USART2)
135135
// DEBUG_UART could be redefined to print on another instance than 'Serial'
136136
//#define DEBUG_UART ((USART_TypeDef *) U(S)ARTX) // ex: USART3
137137
// DEBUG_UART baudrate, default: 9600 if not defined

0 commit comments

Comments
 (0)