diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/neo/keyboard.c | 6 | ||||
-rw-r--r-- | apps/recorder/radio.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/neo/keyboard.c b/apps/neo/keyboard.c index d81d7629b3..6dd315e16e 100644 --- a/apps/neo/keyboard.c +++ b/apps/neo/keyboard.c | |||
@@ -36,13 +36,13 @@ extern int button_add(unsigned int button); | |||
36 | 36 | ||
37 | #define KEYBOARD_MAX_LENGTH 255 | 37 | #define KEYBOARD_MAX_LENGTH 255 |
38 | 38 | ||
39 | static unsigned char* kbd_screens[3] = { | 39 | static const unsigned char* const kbd_screens[3] = { |
40 | "ABCDEFGHIJKLMNOPQRSTUVWXYZ", | 40 | "ABCDEFGHIJKLMNOPQRSTUVWXYZ", |
41 | "abcdefghijklmnopqrstuvwxyz", | 41 | "abcdefghijklmnopqrstuvwxyz", |
42 | " !\"#$%&'()*+,-./0123456789;<=>?@[]^_`{|}" | 42 | " !\"#$%&'()*+,-./0123456789;<=>?@[]^_`{|}" |
43 | }; | 43 | }; |
44 | 44 | ||
45 | static unsigned char* kbd_screens_names[3] = { | 45 | static const unsigned char* const kbd_screens_names[3] = { |
46 | "Capitals", | 46 | "Capitals", |
47 | "Small", | 47 | "Small", |
48 | "Others" | 48 | "Others" |
@@ -77,7 +77,7 @@ int kbd_input(char* text, int buflen) | |||
77 | int key; | 77 | int key; |
78 | int screen = 0; | 78 | int screen = 0; |
79 | int screenidx = -1; | 79 | int screenidx = -1; |
80 | unsigned char * pcurscreen = kbd_screens[0]; | 80 | const unsigned char * pcurscreen = kbd_screens[0]; |
81 | bool ctl; | 81 | bool ctl; |
82 | 82 | ||
83 | bufferlen = strlen(text); | 83 | bufferlen = strlen(text); |
diff --git a/apps/recorder/radio.c b/apps/recorder/radio.c index e26ac5bdc8..3bd50183c6 100644 --- a/apps/recorder/radio.c +++ b/apps/recorder/radio.c | |||
@@ -75,7 +75,7 @@ static int pll_cnt; | |||
75 | static bool presets_loaded = false; | 75 | static bool presets_loaded = false; |
76 | static struct fmstation presets[MAX_PRESETS]; | 76 | static struct fmstation presets[MAX_PRESETS]; |
77 | 77 | ||
78 | static char default_filename[] = "/.rockbox/fm-presets-default.fmr"; | 78 | static const char default_filename[] = "/.rockbox/fm-presets-default.fmr"; |
79 | 79 | ||
80 | int debug_fm_detection; | 80 | int debug_fm_detection; |
81 | 81 | ||