mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 13:15:18 -05:00
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:
parent
c3c15cce88
commit
5667682dd2
18 changed files with 1300 additions and 140 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue