Преглед изворни кода

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);