diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugin.h | 2 | ||||
-rw-r--r-- | apps/recorder/keyboard.c | 4 | ||||
-rw-r--r-- | apps/recorder/peakmeter.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index e8fb25e555..43f8b897c3 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -261,7 +261,7 @@ struct plugin_api { | |||
261 | #endif | 261 | #endif |
262 | void (*plugin_tsr)(void (*exit_callback)(void)); | 262 | void (*plugin_tsr)(void (*exit_callback)(void)); |
263 | #if defined(DEBUG) || defined(SIMULATOR) | 263 | #if defined(DEBUG) || defined(SIMULATOR) |
264 | void (*debugf)(char *fmt, ...); | 264 | void (*debugf)(const char *fmt, ...); |
265 | #endif | 265 | #endif |
266 | struct user_settings* global_settings; | 266 | struct user_settings* global_settings; |
267 | void (*backlight_set_timeout)(int index); | 267 | void (*backlight_set_timeout)(int index); |
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 */ |