1
0
Fork 0
forked from len0rd/rockbox

Fixed yellow FM builds, and changed the function type names according to the rockbox coding style.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6858 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2005-06-24 23:06:06 +00:00
parent 22c1a8e1d9
commit 24a1f94cd7
4 changed files with 22 additions and 18 deletions

View file

@ -443,7 +443,9 @@ bool radio_screen(void)
/* Only display the peak meter when not recording */
if(!audio_status())
{
lcd_clearrect(0, 8 + fh*(top_of_screen + 3), LCD_WIDTH, fh);
lcd_set_drawmode(DRMODE_SOLID|DRMODE_INVERSEVID);
lcd_fillrect(0, 8 + fh*(top_of_screen + 3), LCD_WIDTH, fh);
lcd_set_drawmode(DRMODE_SOLID);
peak_meter_draw(0, 8 + fh*(top_of_screen + 3), LCD_WIDTH, fh);
lcd_update_rect(0, 8 + fh*(top_of_screen + 3), LCD_WIDTH, fh);
}
@ -477,7 +479,9 @@ bool radio_screen(void)
}
else
{
lcd_clearrect(0, 8 + top_of_screen*fh, LCD_WIDTH, fh);
lcd_set_drawmode(DRMODE_SOLID|DRMODE_INVERSEVID);
lcd_fillrect(0, 8 + top_of_screen*fh, LCD_WIDTH, fh);
lcd_set_drawmode(DRMODE_SOLID);
}
freq = curr_freq / 100000;