From b15a15411fa969d567191fee4dc292c991478ea1 Mon Sep 17 00:00:00 2001 From: MX <10697207+xMasterX@users.noreply.github.com> Date: Sun, 26 Feb 2023 04:22:06 +0300 Subject: [PATCH] Revert "Fix BadUSB bug (#365)" This reverts commit 543346f885259432ae7e700f9fe9e7a029100a46. --- applications/main/bad_usb/scenes/bad_usb_scene_work.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/applications/main/bad_usb/scenes/bad_usb_scene_work.c b/applications/main/bad_usb/scenes/bad_usb_scene_work.c index 337c329dd..187b83bd9 100644 --- a/applications/main/bad_usb/scenes/bad_usb_scene_work.c +++ b/applications/main/bad_usb/scenes/bad_usb_scene_work.c @@ -31,8 +31,6 @@ bool bad_usb_scene_work_on_event(void* context, SceneManagerEvent event) { void bad_usb_scene_work_on_enter(void* context) { BadUsbApp* app = context; - furi_check(furi_hal_usb_set_config(NULL, NULL)); - FuriString* file_name; file_name = furi_string_alloc(); path_extract_filename(app->file_path, file_name, true);