Maxim: fix serial free

There is no Shutdown function for this target
pull/10924/head
Martin Kojtal 2019-10-29 13:33:12 +00:00 committed by GitHub
parent 2e81dad1f3
commit df2cfae85b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ void serial_init(serial_t *obj, PinName tx, PinName rx)
//******************************************************************************
void serial_free(serial_t *obj)
{
UART_Shutdown(obj->uart);
serial_irq_ids[obj->index];
}
//******************************************************************************