From 67db9ff25dd907d166e238b6f9cbef6023c4e0ce Mon Sep 17 00:00:00 2001 From: Willy-JL <49810075+Willy-JL@users.noreply.github.com> Date: Sun, 12 Nov 2023 11:41:47 +0000 Subject: [PATCH] Fix refactored nfc app defines usage --- applications/external/nfc_maker/nfc_maker.h | 2 +- applications/external/nfc_maker/scenes/nfc_maker_scene_result.c | 2 +- applications/external/nfc_maker/scenes/nfc_maker_scene_save.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/applications/external/nfc_maker/nfc_maker.h b/applications/external/nfc_maker/nfc_maker.h index 11f6c4d17..e3e6e67d0 100644 --- a/applications/external/nfc_maker/nfc_maker.h +++ b/applications/external/nfc_maker/nfc_maker.h @@ -14,7 +14,7 @@ #include "scenes/nfc_maker_scene.h" #include #include -#include +#include #include #define MAC_INPUT_LEN GAP_MAC_ADDR_SIZE diff --git a/applications/external/nfc_maker/scenes/nfc_maker_scene_result.c b/applications/external/nfc_maker/scenes/nfc_maker_scene_result.c index fa17201ba..ad7371b5c 100644 --- a/applications/external/nfc_maker/scenes/nfc_maker_scene_result.c +++ b/applications/external/nfc_maker/scenes/nfc_maker_scene_result.c @@ -17,7 +17,7 @@ void nfc_maker_scene_result_on_enter(void* context) { FlipperFormat* file = flipper_format_file_alloc(furi_record_open(RECORD_STORAGE)); FuriString* path = furi_string_alloc(); - furi_string_printf(path, NFC_APP_FOLDER "/%s" NFC_APP_FILENAME_EXTENSION, app->save_buf); + furi_string_printf(path, NFC_APP_FOLDER "/%s" NFC_APP_EXTENSION, app->save_buf); uint32_t pages = 135; size_t size = pages * 4; diff --git a/applications/external/nfc_maker/scenes/nfc_maker_scene_save.c b/applications/external/nfc_maker/scenes/nfc_maker_scene_save.c index 295a5dd2d..229efc95d 100644 --- a/applications/external/nfc_maker/scenes/nfc_maker_scene_save.c +++ b/applications/external/nfc_maker/scenes/nfc_maker_scene_save.c @@ -27,7 +27,7 @@ void nfc_maker_scene_save_on_enter(void* context) { true); ValidatorIsFile* validator_is_file = - validator_is_file_alloc_init(NFC_APP_FOLDER, NFC_APP_FILENAME_EXTENSION, NULL); + validator_is_file_alloc_init(NFC_APP_FOLDER, NFC_APP_EXTENSION, NULL); text_input_set_validator(text_input, validator_is_file_callback, validator_is_file); view_dispatcher_switch_to_view(app->view_dispatcher, NfcMakerViewTextInput);