File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 88 fap_category="NFC",
99 fap_author="@acegoal07",
1010 fap_weburl="https://github.com/acegoal07/FlipperZero_NFC_Playlist/tree/main",
11- fap_version="1.4 ",
11+ fap_version="1.1 ",
1212 fap_icon="assets/icon.png",
1313 fap_private_libs=[
1414 Lib(
Original file line number Diff line number Diff line change @@ -87,10 +87,8 @@ int32_t nfc_playlist_emulation_task(void* context) {
8787
8888 if (EmulationState != NfcPlaylistEmulationState_Emulating ) {break ;}
8989
90- char const * full_file_name = strchr (file_path , '/' ) != NULL ? & strrchr (file_path , '/' )[1 ] : file_path ;
91- char file_name [sizeof (full_file_name )];
92- strcpy (file_name , full_file_name );
93- strtok (file_name , "." );
90+
91+ char * file_name = strchr (file_path , '/' ) != NULL ? & strrchr (file_path , '/' )[1 ] : file_path ;
9492 char const * file_ext = & strrchr (file_path , '.' )[1 ];
9593 int time_counter_ms = (options_emulate_timeout [nfc_playlist -> settings .emulate_timeout ]* 1000 );
9694
You can’t perform that action at this time.
0 commit comments