From 54da924e43c75235d32c0f2c6d0fcb1028105bd5 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Tue, 10 Jan 2006 23:11:57 +0000 Subject: H300: Bootloader USB mode detection on EXTON wakeup git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8326 a1c6a512-1295-4272-9138-f99709370657 --- firmware/drivers/pcf50606.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'firmware/drivers') diff --git a/firmware/drivers/pcf50606.c b/firmware/drivers/pcf50606.c index cb05d25345..2504498440 100644 --- a/firmware/drivers/pcf50606.c +++ b/firmware/drivers/pcf50606.c @@ -281,6 +281,9 @@ void pcf50606_init(void) set_voltages(); + pcf50606_write(0x08, 0x60); /* Wake on USB and charger insertion */ + pcf50606_write(0x09, 0x60); /* USB and ON key debounce: 14ms */ + /* Backlight PWM = 512Hz 50/50 */ /*pcf50606_write(0x35, 0x13);*/ pcf50606_set_bl_pwm(9); -- cgit v1.2.3