瀏覽代碼

Merge esp8266_deauth from https://github.com/xMasterX/all-the-plugins

Willy-JL 1 年之前
父節點
當前提交
bc3fe9d7ed
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      esp8266_deauth/esp8266_deauth.c

+ 3 - 0
esp8266_deauth/esp8266_deauth.c

@@ -504,6 +504,9 @@ int32_t esp8266_deauth_app(void* p) {
     }
 
     DEAUTH_APP_LOG_I("Start exit app");
+    furi_hal_serial_async_rx_stop(app->serial_handle);
+    furi_hal_serial_deinit(app->serial_handle);
+    furi_hal_serial_control_release(app->serial_handle);
 
     furi_hal_serial_async_rx_stop(app->serial_handle);
     furi_hal_serial_deinit(app->serial_handle);