edit file naming struct for readibility

This commit is contained in:
Xavier 2023-11-22 01:15:31 -05:00
parent d9f9ccae08
commit 5004306d9d
2 changed files with 4 additions and 4 deletions

View File

@ -103,8 +103,8 @@ void wiegand_save_scene_on_enter(void *context)
furi_hal_rtc_get_datetime(&datetime); furi_hal_rtc_get_datetime(&datetime);
snprintf( snprintf(
app->file_name, app->file_name,
25, 50,
"%02d%02d%02d_%02d%02d%02d", "%02d_%02d_%02d_%02d_%02d_%02d",
datetime.year, datetime.year,
datetime.month, datetime.month,
datetime.day, datetime.day,

View File

@ -76,8 +76,8 @@ static void wiegand_scan_found(void *context)
furi_hal_rtc_get_datetime(&datetime); furi_hal_rtc_get_datetime(&datetime);
snprintf( snprintf(
app->file_name, app->file_name,
25, 50,
"%02d%02d%02d_%02d%02d%02d", "%02d_%02d_%02d_%02d_%02d_%02d",
datetime.year, datetime.year,
datetime.month, datetime.month,
datetime.day, datetime.day,