Revert "Revert "MPU Hal (#1492)""

This reverts commit 43345ba0bb.
This commit is contained in:
MX
2022-08-04 05:02:23 +03:00
parent 8f80999589
commit 04ceebc032
29 changed files with 238 additions and 62 deletions

View File

@@ -59,8 +59,8 @@ void subghz_scene_save_name_on_enter(void* context) {
MAX_TEXT_INPUT_LEN, // buffer size
dev_name_empty);
ValidatorIsFile* validator_is_file = validator_is_file_alloc_init(
string_get_cstr(subghz->file_path), SUBGHZ_APP_EXTENSION, NULL);
ValidatorIsFile* validator_is_file =
validator_is_file_alloc_init(string_get_cstr(subghz->file_path), SUBGHZ_APP_EXTENSION, "");
text_input_set_validator(text_input, validator_is_file_callback, validator_is_file);
string_clear(file_name);