[FL-2602] Infrared: Fix crash when messing with SD card (#1339)
* Fix crash after removing SD card and exiting * Show an error if SD card was removed on Universal remote screen
This commit is contained in:
@@ -99,6 +99,7 @@ bool infrared_brute_force_start(
|
||||
success = flipper_format_file_open_existing(brute_force->ff, brute_force->db_filename);
|
||||
if(!success) {
|
||||
flipper_format_free(brute_force->ff);
|
||||
brute_force->ff = NULL;
|
||||
furi_record_close("storage");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user