forked from len0rd/rockbox
Initialize the MBC to off, idle state JinC
Fix a comment that had wrong voltage git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8382 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ac22b06f37
commit
13414ae77a
1 changed files with 2 additions and 1 deletions
|
|
@ -259,7 +259,7 @@ static void set_voltages(void)
|
|||
{
|
||||
static const unsigned char buf[5] =
|
||||
{
|
||||
0xf4, /* IOREGC = 3.3V, ON in all states */
|
||||
0xf4, /* IOREGC = 2.9V, ON in all states */
|
||||
0xef, /* D1REGC = 2.4V, ON in all states */
|
||||
0x18, /* D2REGC = 3.3V, OFF in all states */
|
||||
0xf0, /* D3REGC = 2.5V, ON in all states */
|
||||
|
|
@ -283,6 +283,7 @@ void pcf50606_init(void)
|
|||
|
||||
pcf50606_write(0x08, 0x60); /* Wake on USB and charger insertion */
|
||||
pcf50606_write(0x09, 0x05); /* USB and ON key debounce: 14ms */
|
||||
pcf50606_write(0x29, 0x1C); /* Disable the unused MBC module */
|
||||
|
||||
/* Backlight PWM = 512Hz 50/50 */
|
||||
/*pcf50606_write(0x35, 0x13);*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue