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:
Michael Sevakis 2008-12-24 23:54:57 +00:00
parent 4f2bc16f5c
commit f921f74873

View file

@ -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 */