|
|
@@ -278,11 +278,6 @@ bool subghz_key_load(SubGhz* subghz, const char* file_path, bool show_dialog) {
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
- if(!furi_hal_region_is_frequency_allowed(temp_data32)) {
|
|
|
- FURI_LOG_E(TAG, "This frequency can only be used for RX in your region");
|
|
|
- load_key_state = SubGhzLoadKeyStateOnlyRx;
|
|
|
- break;
|
|
|
- }
|
|
|
subghz->txrx->preset->frequency = temp_data32;
|
|
|
|
|
|
if(!flipper_format_read_string(fff_data_file, "Preset", temp_str)) {
|
|
|
@@ -354,12 +349,6 @@ bool subghz_key_load(SubGhz* subghz, const char* file_path, bool show_dialog) {
|
|
|
}
|
|
|
return false;
|
|
|
|
|
|
- case SubGhzLoadKeyStateOnlyRx:
|
|
|
- if(show_dialog) {
|
|
|
- subghz_dialog_message_show_only_rx(subghz);
|
|
|
- }
|
|
|
- return false;
|
|
|
-
|
|
|
case SubGhzLoadKeyStateOK:
|
|
|
return true;
|
|
|
|