mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
[Fix Red] Fix remaining red from, Import battery tables
Change-Id: I0b41a90089843adfe49da453d76c0c3ef0c78057
This commit is contained in:
parent
a1fd56ba8e
commit
43ab8dc413
2 changed files with 2 additions and 1 deletions
|
@ -182,6 +182,7 @@ void fatal_error(int err)
|
||||||
}
|
}
|
||||||
|
|
||||||
#if (CONFIG_STORAGE & STORAGE_ATA)
|
#if (CONFIG_STORAGE & STORAGE_ATA)
|
||||||
|
extern unsigned short battery_level_disksafe[BATTERY_TYPES_COUNT];
|
||||||
static void battery_trap(void)
|
static void battery_trap(void)
|
||||||
{
|
{
|
||||||
int vbat, old_verb;
|
int vbat, old_verb;
|
||||||
|
|
|
@ -113,9 +113,9 @@ struct battery_tables_t {
|
||||||
unsigned short * const discharge;
|
unsigned short * const discharge;
|
||||||
#if CONFIG_CHARGING
|
#if CONFIG_CHARGING
|
||||||
unsigned short * const charge;
|
unsigned short * const charge;
|
||||||
|
#endif
|
||||||
const unsigned short elems;
|
const unsigned short elems;
|
||||||
bool isdefault;
|
bool isdefault;
|
||||||
#endif
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Returns battery status, filtered for runtime estimation */
|
/* Returns battery status, filtered for runtime estimation */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue