summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2022-05-03 23:58:00 -0400
committerWilliam Wilgus <wilgus.william@gmail.com>2022-05-03 23:58:00 -0400
commit09ef94ed8bd6a7aa0876797a2fa5fd64978aa539 (patch)
tree0835c9f6effff0370344022dff9b2ebf0a9413d7
parent79864c6ec22370ae31d3259a17e0c93db3cdae61 (diff)
downloadrockbox-09ef94ed8b.tar.gz
rockbox-09ef94ed8b.zip
add const to const * strings iriver Fix Red
the iriver devices overwrite the pointer Change-Id: I20ae6db2aec0f957824b61db349c7c45a95e58d9
-rw-r--r--apps/recorder/recording.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c
index db8d892b7c..0a3c7af494 100644
--- a/apps/recorder/recording.c
+++ b/apps/recorder/recording.c
@@ -189,7 +189,8 @@ static short balance_mem[BAL_MEM_SIZE];
#define AGC_MODE_SIZE 5
#define AGC_SAFETY_MODE 0
-static const char* const agc_preset_str[] =
+/* Note iriver devices overwrite these strings */
+static const char* agc_preset_str[] =
{ "Off", "S", "L", "D", "M", "V" };
/* "Off",
"Safety (clip)",