Gigabeat S: Implement charging and power control to charge from AC or USB. Hold MENU while plugging USB cable to charge from USB without connecting. Under Windows, plugging USB for charging only but not connecting still needs to be properly handled (driver popup issue) but it will charge when connected normally-- no issue under Linux. Some accomodating changes made to powermgmt.c will soon be made nicer.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19547 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michael Sevakis 2008-12-21 18:10:36 +00:00
parent c3c15cce88
commit 5667682dd2
18 changed files with 1300 additions and 140 deletions

View file

@ -39,6 +39,11 @@ static inline void udelay(unsigned int usecs)
}
#endif
/* Service the watchdog timer - serviced from the power thread every minute */
void watchdog_init(unsigned int half_seconds);
void watchdog_service(void);
/* Prepare for transition to firmware */
void system_prepare_fw_start(void);
void tick_stop(void);
void kernel_device_init(void);