From 5004306d9d202cf6fbe8bfca44774c734547d71c Mon Sep 17 00:00:00 2001 From: Xavier Date: Wed, 22 Nov 2023 01:15:31 -0500 Subject: [PATCH] edit file naming struct for readibility --- gpio/wiegand/scenes/wiegand_save.c | 4 ++-- gpio/wiegand/scenes/wiegand_scan.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gpio/wiegand/scenes/wiegand_save.c b/gpio/wiegand/scenes/wiegand_save.c index 4deb727..cdd6f3d 100644 --- a/gpio/wiegand/scenes/wiegand_save.c +++ b/gpio/wiegand/scenes/wiegand_save.c @@ -103,8 +103,8 @@ void wiegand_save_scene_on_enter(void *context) furi_hal_rtc_get_datetime(&datetime); snprintf( app->file_name, - 25, - "%02d%02d%02d_%02d%02d%02d", + 50, + "%02d_%02d_%02d_%02d_%02d_%02d", datetime.year, datetime.month, datetime.day, diff --git a/gpio/wiegand/scenes/wiegand_scan.c b/gpio/wiegand/scenes/wiegand_scan.c index fb3bf7e..a745741 100644 --- a/gpio/wiegand/scenes/wiegand_scan.c +++ b/gpio/wiegand/scenes/wiegand_scan.c @@ -76,8 +76,8 @@ static void wiegand_scan_found(void *context) furi_hal_rtc_get_datetime(&datetime); snprintf( app->file_name, - 25, - "%02d%02d%02d_%02d%02d%02d", + 50, + "%02d_%02d_%02d_%02d_%02d_%02d", datetime.year, datetime.month, datetime.day,