diff --git a/non_catalog_apps/wiegand/scenes/wiegand_data.c b/non_catalog_apps/wiegand/scenes/wiegand_data.c index 8f8a69ee..1f726936 100644 --- a/non_catalog_apps/wiegand/scenes/wiegand_data.c +++ b/non_catalog_apps/wiegand/scenes/wiegand_data.c @@ -223,7 +223,7 @@ void wiegand_data_scene_on_enter(void* context) { App* app = context; widget_reset(app->widget); widget_add_string_element(app->widget, 0, 0, AlignLeft, AlignTop, FontPrimary, "Wiegand Data"); - FuriString* buffer = furi_string_alloc(1024); + FuriString* buffer = furi_string_alloc(); furi_string_printf(buffer, "Bits: %d\n", bit_count); for(int i = 0; i < bit_count; i++) { furi_string_push_back(buffer, data[i] ? '1' : '0'); diff --git a/non_catalog_apps/wiegand/scenes/wiegand_load.c b/non_catalog_apps/wiegand/scenes/wiegand_load.c index ea57a491..8b4402d3 100644 --- a/non_catalog_apps/wiegand/scenes/wiegand_load.c +++ b/non_catalog_apps/wiegand/scenes/wiegand_load.c @@ -9,7 +9,7 @@ void wiegand_load_scene_on_enter(void* context) { furi_string_set(app->file_path, browser_options.base_path); - FuriString* buffer = furi_string_alloc(1024); + FuriString* buffer = furi_string_alloc(); if(dialog_file_browser_show(app->dialogs, app->file_path, app->file_path, &browser_options)) { Storage* storage = furi_record_open(RECORD_STORAGE); diff --git a/non_catalog_apps/wiegand/scenes/wiegand_save.c b/non_catalog_apps/wiegand/scenes/wiegand_save.c index 6f9408ac..01d65f9b 100644 --- a/non_catalog_apps/wiegand/scenes/wiegand_save.c +++ b/non_catalog_apps/wiegand/scenes/wiegand_save.c @@ -25,7 +25,7 @@ void ensure_dir_exists(Storage* storage) { void wiegand_save(void* context) { App* app = context; - FuriString* buffer = furi_string_alloc(1024); + FuriString* buffer = furi_string_alloc(); FuriString* file_path = furi_string_alloc(); furi_string_printf( file_path, "%s/%s%s", WIEGAND_SAVE_FOLDER, app->file_name, WIEGAND_SAVE_EXTENSION);