summaryrefslogtreecommitdiff
path: root/apps/recorder/radio.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2005-06-24 23:06:06 +0000
committerJens Arnold <amiconn@rockbox.org>2005-06-24 23:06:06 +0000
commit24a1f94cd7cc50fbda6689d33c5d2dbcf123dab5 (patch)
tree1be06cf64f839ea856f28122e0bcd3d8c6182c8c /apps/recorder/radio.c
parent22c1a8e1d97c3fd078067f4e1d2444b3499bd869 (diff)
downloadrockbox-24a1f94cd7cc50fbda6689d33c5d2dbcf123dab5.tar.gz
rockbox-24a1f94cd7cc50fbda6689d33c5d2dbcf123dab5.zip
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
Diffstat (limited to 'apps/recorder/radio.c')
-rw-r--r--apps/recorder/radio.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/apps/recorder/radio.c b/apps/recorder/radio.c
index 93e2022caf..5dbe9478d6 100644
--- a/apps/recorder/radio.c
+++ b/apps/recorder/radio.c
@@ -443,7 +443,9 @@ bool radio_screen(void)
443 /* Only display the peak meter when not recording */ 443 /* Only display the peak meter when not recording */
444 if(!audio_status()) 444 if(!audio_status())
445 { 445 {
446 lcd_clearrect(0, 8 + fh*(top_of_screen + 3), LCD_WIDTH, fh); 446 lcd_set_drawmode(DRMODE_SOLID|DRMODE_INVERSEVID);
447 lcd_fillrect(0, 8 + fh*(top_of_screen + 3), LCD_WIDTH, fh);
448 lcd_set_drawmode(DRMODE_SOLID);
447 peak_meter_draw(0, 8 + fh*(top_of_screen + 3), LCD_WIDTH, fh); 449 peak_meter_draw(0, 8 + fh*(top_of_screen + 3), LCD_WIDTH, fh);
448 lcd_update_rect(0, 8 + fh*(top_of_screen + 3), LCD_WIDTH, fh); 450 lcd_update_rect(0, 8 + fh*(top_of_screen + 3), LCD_WIDTH, fh);
449 } 451 }
@@ -477,7 +479,9 @@ bool radio_screen(void)
477 } 479 }
478 else 480 else
479 { 481 {
480 lcd_clearrect(0, 8 + top_of_screen*fh, LCD_WIDTH, fh); 482 lcd_set_drawmode(DRMODE_SOLID|DRMODE_INVERSEVID);
483 lcd_fillrect(0, 8 + top_of_screen*fh, LCD_WIDTH, fh);
484 lcd_set_drawmode(DRMODE_SOLID);
481 } 485 }
482 486
483 freq = curr_freq / 100000; 487 freq = curr_freq / 100000;