Fix refactored nfc app defines usage

This commit is contained in:
Willy-JL
2023-11-12 11:41:47 +00:00
parent f402495725
commit 67db9ff25d
3 changed files with 3 additions and 3 deletions

View File

@@ -14,7 +14,7 @@
#include "scenes/nfc_maker_scene.h"
#include <lib/flipper_format/flipper_format.h>
#include <toolbox/name_generator.h>
#include <applications/main/nfc/nfc_i.h>
#include <applications/main/nfc/nfc_app_i.h>
#include <furi_hal_bt.h>
#define MAC_INPUT_LEN GAP_MAC_ADDR_SIZE

View File

@@ -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;

View File

@@ -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);