diff options
Diffstat (limited to 'apps/recorder')
-rw-r--r-- | apps/recorder/keyboard.c | 4 | ||||
-rw-r--r-- | apps/recorder/peakmeter.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/recorder/keyboard.c b/apps/recorder/keyboard.c index 0331a5711d..8acccdafd1 100644 --- a/apps/recorder/keyboard.c +++ b/apps/recorder/keyboard.c | |||
@@ -33,7 +33,7 @@ | |||
33 | #define KEYBOARD_LINES 4 | 33 | #define KEYBOARD_LINES 4 |
34 | #define KEYBOARD_PAGES 3 | 34 | #define KEYBOARD_PAGES 3 |
35 | 35 | ||
36 | static void kbd_setupkeys(char* line[KEYBOARD_LINES], int page) | 36 | static void kbd_setupkeys(const char* line[KEYBOARD_LINES], int page) |
37 | { | 37 | { |
38 | switch (page) { | 38 | switch (page) { |
39 | case 0: | 39 | case 0: |
@@ -85,7 +85,7 @@ int kbd_input(char* text, int buflen) | |||
85 | int len; | 85 | int len; |
86 | int editpos; | 86 | int editpos; |
87 | bool redraw = true; | 87 | bool redraw = true; |
88 | char* line[KEYBOARD_LINES]; | 88 | const char* line[KEYBOARD_LINES]; |
89 | 89 | ||
90 | char outline[256]; | 90 | char outline[256]; |
91 | char c = 0; | 91 | char c = 0; |
diff --git a/apps/recorder/peakmeter.c b/apps/recorder/peakmeter.c index b069c1566b..22f90a3f94 100644 --- a/apps/recorder/peakmeter.c +++ b/apps/recorder/peakmeter.c | |||
@@ -122,7 +122,7 @@ static const long clip_time_out[] = { | |||
122 | dBfs values. Used to draw the scale */ | 122 | dBfs values. Used to draw the scale */ |
123 | #define DB_SCALE_SRC_VALUES_SIZE 11 | 123 | #define DB_SCALE_SRC_VALUES_SIZE 11 |
124 | #if 0 | 124 | #if 0 |
125 | const static int db_scale_src_values[DB_SCALE_SRC_VALUES_SIZE] = { | 125 | static const int db_scale_src_values[DB_SCALE_SRC_VALUES_SIZE] = { |
126 | 32767, /* 0 db */ | 126 | 32767, /* 0 db */ |
127 | 23197, /* - 3 db */ | 127 | 23197, /* - 3 db */ |
128 | 16422, /* - 6 db */ | 128 | 16422, /* - 6 db */ |