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
This commit is contained in:
Solomon Peachy 2024-04-06 21:25:36 -04:00
parent 7b25c32388
commit 75ad7c9792
7 changed files with 8 additions and 8 deletions

View file

@ -39,7 +39,7 @@ const unsigned short percent_to_volt_discharge[BATTERY_TYPES_COUNT][11] =
};
/* voltages (millivolt) of 0%, 10%, ... 100% when charging enabled */
const unsigned short const percent_to_volt_charge[11] =
const unsigned short percent_to_volt_charge[11] =
{
3485, 3780, 3836, 3857, 3890, 3930, 3986, 4062, 4158, 4185, 4196
};

View file

@ -40,7 +40,7 @@ const unsigned short percent_to_volt_discharge[BATTERY_TYPES_COUNT][11] =
};
/* voltages (millivolt) of 0%, 10%, ... 100% when charging enabled */
const unsigned short const percent_to_volt_charge[11] =
const unsigned short percent_to_volt_charge[11] =
{
3485, 3780, 3836, 3857, 3890, 3930, 3986, 4062, 4158, 4185, 4196
};

View file

@ -39,7 +39,7 @@ const unsigned short percent_to_volt_discharge[BATTERY_TYPES_COUNT][11] =
};
/* voltages (millivolt) of 0%, 10%, ... 100% when charging enabled */
const unsigned short const percent_to_volt_charge[11] =
const unsigned short percent_to_volt_charge[11] =
{
3485, 3780, 3836, 3857, 3890, 3930, 3986, 4062, 4158, 4185, 4196
};

View file

@ -56,7 +56,7 @@ const unsigned short percent_to_volt_discharge[BATTERY_TYPES_COUNT][11] =
#if CONFIG_CHARGING
/* voltages (millivolt) of 0%, 10%, ... 100% when charging enabled */
const unsigned short const percent_to_volt_charge[11] =
const unsigned short percent_to_volt_charge[11] =
{
3450, 3670, 3721, 3751, 3782, 3821, 3876, 3941, 4034, 4125, 4200
};
@ -132,4 +132,4 @@ bool tuner_powered(void)
{
return tuner_on;
}
#endif /* #if CONFIG_TUNER */
#endif /* #if CONFIG_TUNER */

View file

@ -76,7 +76,7 @@ const unsigned short percent_to_volt_discharge[BATTERY_TYPES_COUNT][11] =
#if CONFIG_CHARGING
/* voltages (millivolt) of 0%, 10%, ... 100% when charging enabled */
const unsigned short const percent_to_volt_charge[11] =
const unsigned short percent_to_volt_charge[11] =
{
3450, 3670, 3721, 3751, 3782, 3821, 3876, 3941, 4034, 4125, 4200
};

View file

@ -39,7 +39,7 @@ const unsigned short percent_to_volt_discharge[BATTERY_TYPES_COUNT][11] =
};
/* voltages (millivolt) of 0%, 10%, ... 100% when charging enabled */
const unsigned short const percent_to_volt_charge[11] =
const unsigned short percent_to_volt_charge[11] =
{
3450, 3670, 3721, 3751, 3782, 3821, 3876, 3941, 4034, 4125, 4200
};

View file

@ -39,7 +39,7 @@ const unsigned short percent_to_volt_discharge[BATTERY_TYPES_COUNT][11] =
};
/* voltages (millivolt) of 0%, 10%, ... 100% when charging enabled */
const unsigned short const percent_to_volt_charge[11] =
const unsigned short percent_to_volt_charge[11] =
{
3485, 3780, 3836, 3857, 3890, 3930, 3986, 4062, 4158, 4185, 4196
};