summaryrefslogtreecommitdiff
path: root/apps/recorder
diff options
context:
space:
mode:
Diffstat (limited to 'apps/recorder')
-rw-r--r--apps/recorder/peakmeter.c4
-rw-r--r--apps/recorder/recording.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/apps/recorder/peakmeter.c b/apps/recorder/peakmeter.c
index 33d1e25ee7..b069c1566b 100644
--- a/apps/recorder/peakmeter.c
+++ b/apps/recorder/peakmeter.c
@@ -103,14 +103,14 @@ static unsigned int ticks_per_redraw[TICKS_PER_DRAW_SIZE];
103#endif 103#endif
104 104
105/* time out values for max */ 105/* time out values for max */
106static long max_time_out[] = { 106static const long max_time_out[] = {
107 0 * HZ, HZ / 5, 30, HZ / 2, HZ, 2 * HZ, 107 0 * HZ, HZ / 5, 30, HZ / 2, HZ, 2 * HZ,
108 3 * HZ, 4 * HZ, 5 * HZ, 6 * HZ, 7 * HZ, 8 * HZ, 108 3 * HZ, 4 * HZ, 5 * HZ, 6 * HZ, 7 * HZ, 8 * HZ,
109 9 * HZ, 10 * HZ, 15 * HZ, 20 * HZ, 30 * HZ, 60 * HZ 109 9 * HZ, 10 * HZ, 15 * HZ, 20 * HZ, 30 * HZ, 60 * HZ
110}; 110};
111 111
112/* time out values for clip */ 112/* time out values for clip */
113static long clip_time_out[] = { 113static const long clip_time_out[] = {
114 0 * HZ, 1 * HZ, 2 * HZ, 3 * HZ, 4 * HZ, 5 * HZ, 114 0 * HZ, 1 * HZ, 2 * HZ, 3 * HZ, 4 * HZ, 5 * HZ,
115 6 * HZ, 7 * HZ, 8 * HZ, 9 * HZ, 10 * HZ, 15 * HZ, 115 6 * HZ, 7 * HZ, 8 * HZ, 9 * HZ, 10 * HZ, 15 * HZ,
116 20 * HZ, 25 * HZ, 30 * HZ, 45 * HZ, 60 * HZ, 90 * HZ, 116 20 * HZ, 25 * HZ, 30 * HZ, 45 * HZ, 60 * HZ, 90 * HZ,
diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c
index 242351a0d6..20b5fa016f 100644
--- a/apps/recorder/recording.c
+++ b/apps/recorder/recording.c
@@ -56,7 +56,7 @@ bool f3_rec_screen(void);
56#define SOURCE_LINE 1 56#define SOURCE_LINE 1
57#define SOURCE_SPDIF 2 57#define SOURCE_SPDIF 2
58 58
59char *freq_str[6] = 59const char* const freq_str[6] =
60{ 60{
61 "44.1kHz", 61 "44.1kHz",
62 "48kHz", 62 "48kHz",
@@ -79,7 +79,7 @@ static void set_gain(void)
79 } 79 }
80} 80}
81 81
82static char *fmtstr[] = 82static const char* const fmtstr[] =
83{ 83{
84 "", /* no decimals */ 84 "", /* no decimals */
85 "%d.%d %s ", /* 1 decimal */ 85 "%d.%d %s ", /* 1 decimal */
@@ -632,7 +632,7 @@ bool f2_rec_screen(void)
632 lcd_getstringsize("A",&w,&h); 632 lcd_getstringsize("A",&w,&h);
633 633
634 while (!exit) { 634 while (!exit) {
635 char* ptr=NULL; 635 const char* ptr=NULL;
636 636
637 lcd_clear_display(); 637 lcd_clear_display();
638 638