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:
parent
ce51bc4b81
commit
8ec05779e3
5 changed files with 87 additions and 27 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue