remove unneeded global var

This commit is contained in:
MX
2023-06-14 01:07:07 +03:00
parent cd9874970a
commit f22624399c
6 changed files with 2 additions and 24 deletions

View File

@@ -56,7 +56,7 @@ void subghz_scene_save_name_on_enter(void* context) {
if(!subghz_path_is_file(subghz->file_path)) {
char file_name_buf[SUBGHZ_MAX_LEN_NAME] = {0};
if(furi_hal_subghz_get_timestamp_file_names()) {
if(subghz->last_settings->timestamp_file_names) {
SubGhzProtocolDecoderBase* decoder_result = subghz_txrx_get_decoder(subghz->txrx);
if(decoder_result != 0x0) {
if(decoder_result != NULL) {