Skip to content

Commit 3b3aca2

Browse files
authored
Merge pull request #19 from xMasterX/fix_crash
Fix crashes when reopening app
2 parents 757517b + 360d1df commit 3b3aca2

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

wifi_marauder_uart.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,10 @@ void wifi_marauder_uart_free(WifiMarauderUart* uart) {
106106
furi_thread_free(uart->rx_thread);
107107

108108
furi_hal_uart_set_irq_cb(uart->channel, NULL, NULL);
109+
if(uart->channel == FuriHalUartIdLPUART1) {
110+
furi_hal_uart_deinit(uart->channel);
111+
}
109112
furi_hal_console_enable();
110113

111114
free(uart);
112-
}
115+
}

0 commit comments

Comments
 (0)