Skip to content

Commit eb4b339

Browse files
committed
STM32 serial: add missing function declaration
1 parent b6efdd5 commit eb4b339

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

targets/TARGET_STM/serial_api.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ extern uint32_t serial_irq_ids[];
4040

4141
// Utility functions
4242
HAL_StatusTypeDef init_uart(serial_t *obj);
43+
int8_t get_uart_index(UARTName uart_name);
4344

4445
void serial_init(serial_t *obj, PinName tx, PinName rx)
4546
{

0 commit comments

Comments
 (0)