diff options
author | William Wilgus <wilgus.william@gmail.com> | 2022-05-03 22:54:33 -0400 |
---|---|---|
committer | William Wilgus <me.theuser@yahoo.com> | 2022-05-03 23:00:58 -0400 |
commit | 79864c6ec22370ae31d3259a17e0c93db3cdae61 (patch) | |
tree | 6de3a54700d84db34eab150740006dd74d359cd2 /firmware/target/arm/imx233 | |
parent | 4dd3c2b33ec3d181f54cc1bcf5b596401a8cfcbb (diff) | |
download | rockbox-79864c6ec22370ae31d3259a17e0c93db3cdae61.tar.gz rockbox-79864c6ec22370ae31d3259a17e0c93db3cdae61.zip |
add const to const * strings
I don't think this will amke any difference except maybe for hosted ports
Change-Id: I84f898aea92a6963901a6d889dd18b63f24c9a41
Diffstat (limited to 'firmware/target/arm/imx233')
-rw-r--r-- | firmware/target/arm/imx233/debug-imx233.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/target/arm/imx233/debug-imx233.c b/firmware/target/arm/imx233/debug-imx233.c index bfc38b20dc..4487952162 100644 --- a/firmware/target/arm/imx233/debug-imx233.c +++ b/firmware/target/arm/imx233/debug-imx233.c | |||
@@ -940,8 +940,8 @@ bool dbg_hw_info_emi(void) | |||
940 | 940 | ||
941 | bool dbg_hw_info_audio(void) | 941 | bool dbg_hw_info_audio(void) |
942 | { | 942 | { |
943 | static const char *hp_sel[2] = {"DAC", "Line1"}; | 943 | static const char * const hp_sel[2] = {"DAC", "Line1"}; |
944 | static const char *mux_sel[4] = {"Mic", "Line1", "HP", "Line2"}; | 944 | static const char * const mux_sel[4] = {"Mic", "Line1", "HP", "Line2"}; |
945 | lcd_setfont(FONT_SYSFIXED); | 945 | lcd_setfont(FONT_SYSFIXED); |
946 | 946 | ||
947 | while(1) | 947 | while(1) |
@@ -1171,7 +1171,7 @@ bool dbg_hw_info_button(void) | |||
1171 | } | 1171 | } |
1172 | else if(MAP[i].periph == IMX233_BUTTON_LRADC) | 1172 | else if(MAP[i].periph == IMX233_BUTTON_LRADC) |
1173 | { | 1173 | { |
1174 | static const char *op_name[] = | 1174 | static const char * const op_name[] = |
1175 | { | 1175 | { |
1176 | [IMX233_BUTTON_EQ] = "eq", | 1176 | [IMX233_BUTTON_EQ] = "eq", |
1177 | [IMX233_BUTTON_GT] = "gt", | 1177 | [IMX233_BUTTON_GT] = "gt", |