Skip to content

Commit

Permalink
uart terminal add missing uart deinit
Browse files Browse the repository at this point in the history
by Willy-JL
  • Loading branch information
xMasterX committed Dec 2, 2023
1 parent f108761 commit 199ce67
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions base_pack/uart_terminal/uart_terminal_uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ void uart_terminal_uart_free(UART_TerminalUart* uart) {

if(uart->app->uart_ch == FuriHalUartIdUSART1)
furi_hal_console_enable();
else
furi_hal_uart_deinit(uart->app->uart_ch);

free(uart);
}

0 comments on commit 199ce67

Please sign in to comment.