mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-30 08:44:34 +03:00
Revert "Update subghz_scene_read_raw.c"
This reverts commit 6171069802
.
This commit is contained in:
parent
72f7b14cb3
commit
676c843369
@ -25,7 +25,7 @@ bool subghz_scene_read_raw_update_filename(SubGhz* subghz) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
string_set_str(subghz->file_path, temp_str);
|
string_set(subghz->file_path, temp_str);
|
||||||
|
|
||||||
ret = true;
|
ret = true;
|
||||||
} while(false);
|
} while(false);
|
||||||
@ -171,7 +171,7 @@ bool subghz_scene_read_raw_on_event(void* context, SceneManagerEvent event) {
|
|||||||
case SubGhzCustomEventViewReadRAWErase:
|
case SubGhzCustomEventViewReadRAWErase:
|
||||||
subghz->txrx->rx_key_state = SubGhzRxKeyStateIDLE;
|
subghz->txrx->rx_key_state = SubGhzRxKeyStateIDLE;
|
||||||
if(subghz_scene_read_raw_update_filename(subghz)) {
|
if(subghz_scene_read_raw_update_filename(subghz)) {
|
||||||
string_set_str(subghz->file_path, subghz->file_path_tmp);
|
strncpy(subghz->file_path_tmp, subghz->file_path, SUBGHZ_MAX_LEN_NAME);
|
||||||
subghz_delete_file(subghz);
|
subghz_delete_file(subghz);
|
||||||
}
|
}
|
||||||
notification_message(subghz->notifications, &sequence_reset_rgb);
|
notification_message(subghz->notifications, &sequence_reset_rgb);
|
||||||
|
Loading…
Reference in New Issue
Block a user