forked from len0rd/rockbox
remove tabs :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1160 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
dce52c7901
commit
c81f9b78ac
1 changed files with 4 additions and 4 deletions
|
|
@ -25,13 +25,13 @@ void led(bool on)
|
|||
{
|
||||
#ifdef ASM_IMPLEMENTATION
|
||||
if ( on )
|
||||
asm("or.b %0, @(r0,gbr)" : : "I"(0x40), "z"(PBDR_ADDR+1));
|
||||
asm("or.b" "\t" "%0,@(r0,gbr)" : : "I"(0x40), "z"(PBDR_ADDR+1));
|
||||
else
|
||||
asm("and.b %0, @(r0,gbr)" : : "I"(~0x40), "z"(PBDR_ADDR+1));
|
||||
asm("and.b" "\t" "%0,@(r0,gbr)" : : "I"(~0x40), "z"(PBDR_ADDR+1));
|
||||
#else
|
||||
if ( on )
|
||||
PBDR |= 0x40;
|
||||
PBDR |= 0x40;
|
||||
else
|
||||
PBDR &= ~0x40;
|
||||
PBDR &= ~0x40;
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue