summaryrefslogtreecommitdiff
path: root/apps/debug_menu.c
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2009-10-17 13:40:42 +0000
committerNils Wallménius <nils@rockbox.org>2009-10-17 13:40:42 +0000
commit79f19b939f63a1a965bcc9f90cf9b6c8822620cc (patch)
treef2b6cd378e30daa15ce03653ae1dd3ded0a6431f /apps/debug_menu.c
parent0659890804d8443a75b4cc5b91c6aec45821effc (diff)
Const correctness for output_dyn_value and unify some identical constants
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23227 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r--apps/debug_menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index e863911602..9886843723 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -1728,8 +1728,8 @@ static int disk_callback(int btn, struct gui_synclist *lists)
char *title = lists->title;
static const unsigned char i_vmin[] = { 0, 1, 5, 10, 25, 35, 60, 100 };
static const unsigned char i_vmax[] = { 1, 5, 10, 25, 35, 45, 80, 200 };
- static const unsigned char *kbit_units[] = { "kBit/s", "MBit/s", "GBit/s" };
- static const unsigned char *nsec_units[] = { "ns", "µs", "ms" };
+ static const unsigned char * const kbit_units[] = { "kBit/s", "MBit/s", "GBit/s" };
+ static const unsigned char * const nsec_units[] = { "ns", "µs", "ms" };
#if (CONFIG_STORAGE & STORAGE_MMC)
static const char * const mmc_spec_vers[] = { "1.0-1.2", "1.4", "2.0-2.2",
"3.1-3.31", "4.0" };