mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-24 03:29:57 -07:00
Fix add manually naming
This commit is contained in:
@@ -62,8 +62,13 @@ void subghz_scene_save_name_on_enter(void* context) {
|
||||
if(subghz->txrx->decoder_result->protocol->name != 0x0) {
|
||||
if(subghz->txrx->decoder_result->protocol->name != NULL) {
|
||||
if(strlen(subghz->txrx->decoder_result->protocol->name) != 0) {
|
||||
subghz_scene_save_name_get_timefilename(
|
||||
file_name, subghz->txrx->decoder_result->protocol->name, false);
|
||||
if(strcmp(subghz->txrx->decoder_result->protocol->name, "BinRAW") == 0) {
|
||||
subghz_scene_save_name_get_timefilename(file_name, "S", true);
|
||||
} else {
|
||||
subghz_scene_save_name_get_timefilename(
|
||||
file_name, subghz->txrx->decoder_result->protocol->name, false);
|
||||
}
|
||||
|
||||
} else {
|
||||
subghz_scene_save_name_get_timefilename(file_name, "S", true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user