From e78a12bca72cb5b1d559cda0fc68bd324017f9b0 Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Sat, 28 Aug 2010 19:15:07 +0000 Subject: pitch detector: remove more unused functions for sim builds git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27920 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/pitch_detector.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/plugins') diff --git a/apps/plugins/pitch_detector.c b/apps/plugins/pitch_detector.c index 5def8a16a4..afb38ce976 100644 --- a/apps/plugins/pitch_detector.c +++ b/apps/plugins/pitch_detector.c @@ -724,6 +724,7 @@ static void display_frequency (fixed freq) rb->lcd_update(); } +#ifndef SIMULATOR /*----------------------------------------------------------------------- * Functions for the Yin algorithm * @@ -851,7 +852,6 @@ static fixed ICODE_ATTR vec_quadint_min(fixed *x, unsigned bufsize, unsigned pos return exactpos; } -#ifndef SIMULATOR /* Calculate the period of the note in the buffer using the YIN algorithm */ /* The yin pointer is just a buffer that the algorithm uses as a work -- cgit v1.2.3