diff --git a/non_catalog_apps/usb_midi/usb/usb_midi_driver.c b/non_catalog_apps/usb_midi/usb/usb_midi_driver.c index 9abf77d1247..04b9f454776 100644 --- a/non_catalog_apps/usb_midi/usb/usb_midi_driver.c +++ b/non_catalog_apps/usb_midi/usb/usb_midi_driver.c @@ -1,5 +1,4 @@ #include -#include #include #include diff --git a/non_catalog_apps/usping/usping.c b/non_catalog_apps/usping/usping.c index ba7b7738394..cc36a2bb224 100644 --- a/non_catalog_apps/usping/usping.c +++ b/non_catalog_apps/usping/usping.c @@ -7,7 +7,6 @@ #include #include #include -#include #include #include #include @@ -185,7 +184,7 @@ int32_t usping_app() { usping_state_init(plugin_state); - furi_hal_console_disable(); + FuriHalSerialHandle* serial_handle = furi_hal_serial_control_acquire(FuriHalSerialIdUsart); plugin_state->mutex = furi_mutex_alloc(FuriMutexTypeNormal); if(!plugin_state->mutex) { @@ -193,7 +192,7 @@ int32_t usping_app() { if(furi_hal_power_is_otg_enabled()) { furi_hal_power_disable_otg(); } - furi_hal_console_enable(); + furi_hal_serial_control_release(serial_handle); furi_hal_power_suppress_charge_exit(); furi_message_queue_free(event_queue); free(plugin_state); @@ -257,7 +256,7 @@ int32_t usping_app() { GpioSpeedVeryHigh, GpioAltFn7USART1); - furi_hal_console_enable(); + furi_hal_serial_control_release(serial_handle); view_port_enabled_set(view_port, false); gui_remove_view_port(gui, view_port);