Willy-JL hace 1 año
padre
commit
361f7f175a
Se han modificado 2 ficheros con 0 adiciones y 8 borrados
  1. 0 4
      esp8266_deauth/esp8266_deauth.c
  2. 0 4
      magspoof/scenes/mag_scene_read.c

+ 0 - 4
esp8266_deauth/esp8266_deauth.c

@@ -508,10 +508,6 @@ int32_t esp8266_deauth_app(void* p) {
     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);
-    furi_hal_serial_control_release(app->serial_handle);
-
     furi_thread_flags_set(furi_thread_get_id(app->m_worker_thread), WorkerEventStop);
     furi_thread_join(app->m_worker_thread);
     furi_thread_free(app->m_worker_thread);

+ 0 - 4
magspoof/scenes/mag_scene_read.c

@@ -169,10 +169,6 @@ void mag_scene_read_on_exit(void* context) {
     widget_reset(mag->widget);
     // view_dispatcher_remove_view(mag->view_dispatcher, MagViewWidget);
 
-    furi_hal_serial_async_rx_stop(mag->serial_handle);
-    furi_hal_serial_deinit(mag->serial_handle);
-    furi_hal_serial_control_release(mag->serial_handle);
-
     // Stop UART worker
     FURI_LOG_D(TAG, "Stopping UART worker");
     furi_hal_serial_async_rx_stop(mag->serial_handle);