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 e8fb25e..43f8b89 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -261,7 +261,7 @@ struct plugin_api { #endif void (*plugin_tsr)(void (*exit_callback)(void)); #if defined(DEBUG) || defined(SIMULATOR) - void (*debugf)(char *fmt, ...); + void (*debugf)(const char *fmt, ...); #endif struct user_settings* global_settings; void (*backlight_set_timeout)(int index); diff --git a/apps/recorder/keyboard.c b/apps/recorder/keyboard.c index 0331a57..8acccda 100644 --- a/apps/recorder/keyboard.c +++ b/apps/recorder/keyboard.c @@ -33,7 +33,7 @@ #define KEYBOARD_LINES 4 #define KEYBOARD_PAGES 3 -static void kbd_setupkeys(char* line[KEYBOARD_LINES], int page) +static void kbd_setupkeys(const char* line[KEYBOARD_LINES], int page) { switch (page) { case 0: @@ -85,7 +85,7 @@ int kbd_input(char* text, int buflen) int len; int editpos; bool redraw = true; - char* line[KEYBOARD_LINES]; + const char* line[KEYBOARD_LINES]; char outline[256]; char c = 0; diff --git a/apps/recorder/peakmeter.c b/apps/recorder/peakmeter.c index b069c15..22f90a3 100644 --- a/apps/recorder/peakmeter.c +++ b/apps/recorder/peakmeter.c @@ -122,7 +122,7 @@ static const long clip_time_out[] = { dBfs values. Used to draw the scale */ #define DB_SCALE_SRC_VALUES_SIZE 11 #if 0 -const static int db_scale_src_values[DB_SCALE_SRC_VALUES_SIZE] = { +static const int db_scale_src_values[DB_SCALE_SRC_VALUES_SIZE] = { 32767, /* 0 db */ 23197, /* - 3 db */ 16422, /* - 6 db */ |