HD200 - turn off charging IC by default

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27315 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Marcin Bukat 2010-07-06 17:30:05 +00:00
parent 2c56ac8448
commit f99e4fb3bf

View file

@ -66,7 +66,7 @@ void power_init(void)
/* turn off charger by default*/ /* turn off charger by default*/
or_l((1<<23), &GPIO_OUT); or_l((1<<23), &GPIO_OUT);
and_l(~(1<<23), &GPIO_ENABLE); or_l((1<<23), &GPIO_ENABLE);
or_l((1<<23), &GPIO_FUNCTION); or_l((1<<23), &GPIO_FUNCTION);
/* high current charge mode */ /* high current charge mode */