Revert "Fix BadUSB bug (#365)"

This reverts commit 543346f885.
This commit is contained in:
MX 2023-02-26 04:22:06 +03:00
parent 39329eb422
commit b15a15411f
No known key found for this signature in database
GPG Key ID: 7CCC66B7DBDD1C83

View File

@ -31,8 +31,6 @@ bool bad_usb_scene_work_on_event(void* context, SceneManagerEvent event) {
void bad_usb_scene_work_on_enter(void* context) { void bad_usb_scene_work_on_enter(void* context) {
BadUsbApp* app = context; BadUsbApp* app = context;
furi_check(furi_hal_usb_set_config(NULL, NULL));
FuriString* file_name; FuriString* file_name;
file_name = furi_string_alloc(); file_name = furi_string_alloc();
path_extract_filename(app->file_path, file_name, true); path_extract_filename(app->file_path, file_name, true);