diff options
| author | Michael Giacomelli <giac2000@hotmail.com> | 2011-11-15 20:37:47 +0000 |
|---|---|---|
| committer | Michael Giacomelli <giac2000@hotmail.com> | 2011-11-15 20:37:47 +0000 |
| commit | 3ba0e05ab5b731e09478ed089ff954ad3580be63 (patch) | |
| tree | 53a6de6fc66e031060ae4a75479c20e8840b37cf /firmware/drivers | |
| parent | 9e07ef2b0adb8fca7e5a9e516397e533653f8836 (diff) | |
| download | rockbox-3ba0e05ab5b731e09478ed089ff954ad3580be63.zip rockbox-3ba0e05ab5b731e09478ed089ff954ad3580be63.tar.gz rockbox-3ba0e05ab5b731e09478ed089ff954ad3580be63.tar.bz2 rockbox-3ba0e05ab5b731e09478ed089ff954ad3580be63.tar.xz | |
Commit FS#12352 by Stanislav Chizhik. Add support for the PCF50635. Enables detection of USB power sources.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30992 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers')
| -rw-r--r-- | firmware/drivers/pcf50635.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/drivers/pcf50635.c b/firmware/drivers/pcf50635.c index 9ccf5e2..38104b8 100644 --- a/firmware/drivers/pcf50635.c +++ b/firmware/drivers/pcf50635.c @@ -102,9 +102,9 @@ void pcf50635_init(void) PCF5063X_REG_GPIO3CFG, 0x0, /* IRQ masks (OF values in brackets) */ - PCF5063X_REG_INT1M, 0xff, /* (0x8a enable alarm, usbins, adpins) */ + PCF5063X_REG_INT1M, 0xfa, /* (0x8a enable alarm, usbins, adpins) */ PCF5063X_REG_INT2M, 0xff, /* (0xff all masked) */ - PCF5063X_REG_INT3M, 0xff, /* (0x7f enable onkey1s) */ + PCF5063X_REG_INT3M, 0x7f, /* (0x7f enable onkey1s) */ PCF5063X_REG_INT4M, 0xff, /* (0xfd enable lowbat) */ PCF5063X_REG_INT5M, 0xff, /* (0xff all masked) */ |