Skip to content

Commit df2cfae

Browse files
authored
Maxim: fix serial free
There is no Shutdown function for this target
1 parent 2e81dad commit df2cfae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

targets/TARGET_Maxim/TARGET_MAX32600/serial_api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ void serial_init(serial_t *obj, PinName tx, PinName rx)
9999
//******************************************************************************
100100
void serial_free(serial_t *obj)
101101
{
102-
UART_Shutdown(obj->uart);
102+
serial_irq_ids[obj->index];
103103
}
104104

105105
//******************************************************************************

0 commit comments

Comments
 (0)