summaryrefslogtreecommitdiff
path: root/firmware/target/hosted/aigo/powermgmt-erosq.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2024-04-06 21:25:36 -0400
committerSolomon Peachy <pizza@shaftnet.org>2024-04-06 21:26:53 -0400
commit75ad7c9792ec110cc92e2409d8c0345979660a7b (patch)
tree423906562cb41b95d758e48fedfaf7462afd7ea1 /firmware/target/hosted/aigo/powermgmt-erosq.c
parent7b25c32388770b07dce030812a46505da2696304 (diff)
downloadrockbox-75ad7c9792ec110cc92e2409d8c0345979660a7b.tar.gz
rockbox-75ad7c9792ec110cc92e2409d8c0345979660a7b.zip
Remove duplicate 'const' declaration in percent_to_volt_charge[]
Affetcs many hosted targets; probably was a typo that was copy-pasted everywhere else. Change-Id: Ifbb31e7ff1fce4874fa0f3c108db59f152e2f927
Diffstat (limited to 'firmware/target/hosted/aigo/powermgmt-erosq.c')
-rw-r--r--firmware/target/hosted/aigo/powermgmt-erosq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/hosted/aigo/powermgmt-erosq.c b/firmware/target/hosted/aigo/powermgmt-erosq.c
index 5067c66426..ddc1b4b8a7 100644
--- a/firmware/target/hosted/aigo/powermgmt-erosq.c
+++ b/firmware/target/hosted/aigo/powermgmt-erosq.c
@@ -40,7 +40,7 @@ const unsigned short percent_to_volt_discharge[BATTERY_TYPES_COUNT][11] =
40}; 40};
41 41
42/* voltages (millivolt) of 0%, 10%, ... 100% when charging enabled */ 42/* voltages (millivolt) of 0%, 10%, ... 100% when charging enabled */
43const unsigned short const percent_to_volt_charge[11] = 43const unsigned short percent_to_volt_charge[11] =
44{ 44{
45 3485, 3780, 3836, 3857, 3890, 3930, 3986, 4062, 4158, 4185, 4196 45 3485, 3780, 3836, 3857, 3890, 3930, 3986, 4062, 4158, 4185, 4196
46}; 46};