Просмотр исходного кода

Move TAGs before other defines like new FW code formatting

Willy-JL 1 год назад
Родитель
Сommit
bc84691675
2 измененных файлов с 4 добавлено и 2 удалено
  1. 2 1
      init_plugin.c
  2. 2 1
      mfkey.c

+ 2 - 1
init_plugin.c

@@ -9,10 +9,11 @@
 #include "plugin_interface.h"
 #include <flipper_application/flipper_application.h>
 
+#define TAG "MFKey"
+
 // TODO: Remove defines that are not needed
 #define MF_CLASSIC_NONCE_PATH        EXT_PATH("nfc/.mfkey32.log")
 #define MF_CLASSIC_NESTED_NONCE_PATH EXT_PATH("nfc/.nested.log")
-#define TAG                          "MFKey"
 #define MAX_NAME_LEN                 32
 #define MAX_PATH_LEN                 64
 

+ 2 - 1
mfkey.c

@@ -33,10 +33,11 @@
 #include <loader/firmware_api/firmware_api.h>
 #include <storage/storage.h>
 
+#define TAG "MFKey"
+
 // TODO: Remove defines that are not needed
 #define KEYS_DICT_SYSTEM_PATH EXT_PATH("nfc/assets/mf_classic_dict.nfc")
 #define KEYS_DICT_USER_PATH   EXT_PATH("nfc/assets/mf_classic_dict_user.nfc")
-#define TAG                   "MFKey"
 #define MAX_NAME_LEN          32
 #define MAX_PATH_LEN          64