summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/recorder/recording.c8
-rw-r--r--apps/recorder/recording.h1
2 files changed, 5 insertions, 4 deletions
diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c
index 0f095bef48..ab1527444c 100644
--- a/apps/recorder/recording.c
+++ b/apps/recorder/recording.c
@@ -136,7 +136,7 @@ void adjust_cursor(void)
}
}
-static char *create_filename(void)
+char *rec_create_filename(void)
{
static char fname[32];
struct tm * tm;
@@ -216,14 +216,14 @@ bool recording_screen(void)
if(!mpeg_status())
{
have_recorded = true;
- mpeg_record(create_filename());
+ mpeg_record(rec_create_filename());
status_set_playmode(STATUS_RECORD);
update_countdown = 1; /* Update immediately */
last_seconds = 0;
}
else
{
- mpeg_new_file(create_filename());
+ mpeg_new_file(rec_create_filename());
update_countdown = 1; /* Update immediately */
}
break;
@@ -394,7 +394,7 @@ bool recording_screen(void)
if (mpeg_status() && (seconds >= dseconds))
{
- mpeg_new_file(create_filename());
+ mpeg_new_file(rec_create_filename());
update_countdown = 1;
last_seconds = 0;
}
diff --git a/apps/recorder/recording.h b/apps/recorder/recording.h
index 4818b42b1f..08edbbcfb4 100644
--- a/apps/recorder/recording.h
+++ b/apps/recorder/recording.h
@@ -20,5 +20,6 @@
#define RECORDING_H
bool recording_screen(void);
+char *rec_create_filename(void);
#endif