1
0
Fork 0
forked from len0rd/rockbox

Gmini work:

* Better USB
* Better comments
* Better coding style


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6022 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jean-Philippe Bernardy 2005-02-19 17:49:58 +00:00
parent ce51bc4b81
commit 8ec05779e3
5 changed files with 87 additions and 27 deletions

View file

@ -258,7 +258,16 @@ void TIMER0(void)
{
int i;
/* Keep alive (?) */
/* Mess with smsc chip. No idea what for.
*/
if (smsc_version() < 4) {
P6 |= 0x08;
P10 |= 0x20;
}
/* Keep alive (?)
* If this is not done, power goes down when DC is unplugged.
*/
if (current_tick % 2 == 0)
P8 |= 1;
else