瀏覽代碼

Fix UART deinit issues in multiple apps

Also thanks to Willy-JL for finding the issue and fixing part of the apps
MX 1 年之前
父節點
當前提交
f84d2bfebb
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      ifttt_virtual_button.c

+ 1 - 0
ifttt_virtual_button.c

@@ -220,6 +220,7 @@ void ifttt_virtual_button_app_free(VirtualButtonApp* app) {
     furi_record_close(RECORD_POWER);
     furi_record_close(RECORD_GUI);
 
+    furi_hal_serial_async_rx_stop(app->serial_handle);
     furi_hal_serial_deinit(app->serial_handle);
     furi_hal_serial_control_release(app->serial_handle);