From 2ec768a2065fa320ba8e766b75eff10cd17a13ae Mon Sep 17 00:00:00 2001 From: Robert Hak Date: Thu, 3 Oct 2002 09:12:44 +0000 Subject: [PATCH] we no longer have lang.h git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2484 a1c6a512-1295-4272-9138-f99709370657 --- apps/recorder/peakmeter.c | 4 +++- apps/recorder/tetris.c | 1 - apps/recorder/wormlet.c | 1 - 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/recorder/peakmeter.c b/apps/recorder/peakmeter.c index 41252b15ca..0569f708ea 100644 --- a/apps/recorder/peakmeter.c +++ b/apps/recorder/peakmeter.c @@ -27,7 +27,6 @@ #include "system.h" #include "font.h" #include "icons.h" -#include "lang.h" #include "peakmeter.h" /* buffer the read peak value */ @@ -55,7 +54,9 @@ static int peak_meter_src_r = MAS_REG_DQPEAK_R; #endif /* temporarily en- / disables peak meter. This is + especially for external applications to detect + if the peak_meter is in use and needs drawing at all */ bool peak_meter_enabled = true; @@ -211,6 +212,7 @@ void peak_meter_draw(int x, int y, int width, int height) { /* read the volume info from MAS */ left = peak_meter_read_l(); right = peak_meter_read_r(); + peak_meter_peek(); diff --git a/apps/recorder/tetris.c b/apps/recorder/tetris.c index 53012fd717..5fc903ba90 100644 --- a/apps/recorder/tetris.c +++ b/apps/recorder/tetris.c @@ -36,7 +36,6 @@ #include #endif #include "sprintf.h" -#include "lang.h" #define TETRIS_TITLE "Tetris!" #define TETRIS_TITLE_FONT 1 #define TETRIS_TITLE_XLOC 43 diff --git a/apps/recorder/wormlet.c b/apps/recorder/wormlet.c index 76f70169b5..f7433bf1df 100644 --- a/apps/recorder/wormlet.c +++ b/apps/recorder/wormlet.c @@ -33,7 +33,6 @@ #include "kernel.h" #include "menu.h" #include "rtc.h" -#include "lang.h" #include "screens.h" /* size of the field the worm lives in */