Gigabeat S: Fix a divide by zero in runtime estimation caused by using actual charger current. Use default constant for now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19584 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
4f2bc16f5c
commit
f921f74873
1 changed files with 2 additions and 0 deletions
|
@ -100,6 +100,8 @@ void charging_algorithm_close(void);
|
|||
/* Provide filtered charge current */
|
||||
int battery_charge_current(void);
|
||||
|
||||
#if 0
|
||||
#define CURRENT_MAX_CHG battery_charge_current()
|
||||
#endif
|
||||
|
||||
#endif /* POWERMGMT_TARGET_H */
|
||||
|
|
Loading…
Reference in a new issue