Skip to content

Commit fb10c3c

Browse files
committed
Fix compilation issue: virtual uart handle virt_huart rename huart
1 parent bf48f3b commit fb10c3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/arduino/VirtIOSerial.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ void VirtIOSerial::begin(void)
4747
if (OPENAMP_Init() != 0) {
4848
Error_Handler();
4949
}
50-
if (VIRT_UART_Init(&virt_huart) != VIRT_UART_OK) {
50+
if (VIRT_UART_Init(&huart) != VIRT_UART_OK) {
5151
Error_Handler();
5252
}
5353
/*Need to register callback for message reception by channels*/

0 commit comments

Comments
 (0)