1
0
Fork 0
forked from len0rd/rockbox

Made set_irq_level() an inline function, and optimized it by removing the bit shifts

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4330 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2004-03-02 11:32:59 +00:00
parent aa5b23d616
commit 111a972b65
8 changed files with 25 additions and 22 deletions

View file

@ -172,7 +172,7 @@ static void screen_dump(void)
serial_enable_tx();
level = set_irq_level(15);
level = set_irq_level(HIGHEST_IRQ_LEVEL);
for(y = 0;y < LCD_HEIGHT/8;y++)
{
for(x = 0;x < LCD_WIDTH;x++)