File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ UART_HandleTypeDef uart_handlers[UART_NUM];
50
50
static uart_irq_handler irq_handler ;
51
51
52
52
// Defined in serial_api.c
53
- int8_t get_uart_index (int uart_base );
53
+ inline int8_t get_uart_index (UARTName uart_name );
54
54
55
55
/******************************************************************************
56
56
* INTERRUPTS HANDLING
Original file line number Diff line number Diff line change @@ -558,7 +558,7 @@ HAL_StatusTypeDef init_uart(serial_t *obj)
558
558
559
559
// Warning: the list of UART/USART in this function must be aligned with the list
560
560
// written in serial_init function.
561
- inline int8_t get_uart_index (UARTName uart_name )
561
+ int8_t get_uart_index (UARTName uart_name )
562
562
{
563
563
uint8_t index = 0 ;
564
564
You can’t perform that action at this time.
0 commit comments