remove duplicate code from raw protocol

This commit is contained in:
MX
2026-04-30 22:12:59 +03:00
parent 58afca1dbf
commit bcbb1b5e04
2 changed files with 1 additions and 4 deletions
+1
View File
@@ -19,6 +19,7 @@
## Other changes
* HID App: PTT improvements (PR #996 | by @hryamzik)
* UI: Wording changes to be more clear (PR #994 | by @SkeletonMan03)
* SubGHz: Fix duplicate code in RAW protocol
* SubGHz: Fix small logic error in KingGatesStylo4k protocol (found by @X-Stuff)
* OFW PR 4364: JS: Address utf8 support when uploading JavaScript application (by @bekindpleaserewind)
* Display: Extend lcd contrast range to full ST756x 6-bit range (by @ShaTie) (reduced to -10 to +18 to avoid fully unreadable state)
-4
View File
@@ -99,10 +99,6 @@ bool subghz_protocol_raw_save_to_file_init(
if(!storage_simply_mkdir(instance->storage, SUBGHZ_RAW_FOLDER)) {
break;
}
// Create saved directory if necessary
if(!storage_simply_mkdir(instance->storage, SUBGHZ_RAW_FOLDER)) {
break;
}
furi_string_set(instance->file_name, dev_name);
// First remove subghz device file if it was saved