summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/pitch_detector.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/pitch_detector.c b/apps/plugins/pitch_detector.c
index 5def8a1..afb38ce 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