Commit graph

8 commits

Author SHA1 Message Date
Dave Chapman
1672350378 FS #7691 - improved USB detection on PP devices. This patch modifies the target-tree function usb_detect() on all targets from bool to int, returning USB_INSERTED or USB_EXTRACTED instead of true or false. This was done to enable the PP usb_detect() to check for USB_POWER (either a connection to a USB wall charger, or the user holding "charge mode" button) and return that as a third value.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14600 a1c6a512-1295-4272-9138-f99709370657
2007-09-04 08:03:07 +00:00
Jens Arnold
839ffbff5f Fix yellow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14376 a1c6a512-1295-4272-9138-f99709370657
2007-08-17 06:59:05 +00:00
Jens Arnold
0fac492c3d First step of powermanagement rework: * Move target specific stuff into target tree, starting with battery voltage tables and voltage reading. (This revealed some incorrect percent_to_voltage_charging mappings). * Voltage reading on 1st gen ipods is now correct. * Clean up obsolete config #defines.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14375 a1c6a512-1295-4272-9138-f99709370657
2007-08-17 06:45:18 +00:00
Michael Sevakis
0a1b2485f8 Get the last errors?
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14037 a1c6a512-1295-4272-9138-f99709370657
2007-07-28 08:58:05 +00:00
Steve Bavin
0e16bd3cc9 Fix bootloader error reporting as per patch FS#7314. Thanks again to James Teh.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13662 a1c6a512-1295-4272-9138-f99709370657
2007-06-18 06:52:29 +00:00
Steve Bavin
88f249d807 Allow H300 to be started up from a non-LCD remote
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12668 a1c6a512-1295-4272-9138-f99709370657
2007-03-07 11:52:17 +00:00
Linus Nielsen Feltzing
8448d3b6be H300 bootloader: init the ISP1362 chip, and set the CPU to idle mode while charging, to save power
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12547 a1c6a512-1295-4272-9138-f99709370657
2007-03-02 13:04:57 +00:00
Linus Nielsen Feltzing
ff17905d7c H300 bootloader: (Work in progress) Boot Rockbox on RTC alarm, add charging screen, move to a separate source file, backlight is on during USB mode (again)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12546 a1c6a512-1295-4272-9138-f99709370657
2007-03-02 11:28:23 +00:00