From e5f129728e325cbc3dadeb79cd49f19cd00e6585 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Wed, 11 Jan 2006 15:36:20 +0000 Subject: Enable the EXTON and CHG wakeup again git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8334 a1c6a512-1295-4272-9138-f99709370657 --- firmware/drivers/pcf50606.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'firmware/drivers') diff --git a/firmware/drivers/pcf50606.c b/firmware/drivers/pcf50606.c index cb05d25345..969f7e5c28 100644 --- a/firmware/drivers/pcf50606.c +++ b/firmware/drivers/pcf50606.c @@ -281,7 +281,10 @@ void pcf50606_init(void) set_voltages(); - /* Backlight PWM = 512Hz 50/50 */ + pcf50606_write(0x08, 0x60); /* Wake on USB and charger insertion */ + pcf50606_write(0x09, 0x05); /* USB and ON key debounce: 14ms */ + + /* Backlight PWM = 512Hz 50/50 */ /*pcf50606_write(0x35, 0x13);*/ pcf50606_set_bl_pwm(9); } -- cgit v1.2.3