diff options
Diffstat (limited to 'apps/plugins/pitch_detector.c')
-rw-r--r-- | apps/plugins/pitch_detector.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugins/pitch_detector.c b/apps/plugins/pitch_detector.c index 5e68822735..ec208268ab 100644 --- a/apps/plugins/pitch_detector.c +++ b/apps/plugins/pitch_detector.c | |||
@@ -982,7 +982,9 @@ static void record_data(void) | |||
982 | static void record_and_get_pitch(void) | 982 | static void record_and_get_pitch(void) |
983 | { | 983 | { |
984 | int quit=0, button; | 984 | int quit=0, button; |
985 | #ifndef SIMULATOR | ||
985 | bool redraw = true; | 986 | bool redraw = true; |
987 | #endif | ||
986 | /* For tracking the latency */ | 988 | /* For tracking the latency */ |
987 | /* | 989 | /* |
988 | long timer; | 990 | long timer; |
@@ -1016,7 +1018,9 @@ static void record_and_get_pitch(void) | |||
1016 | quit = main_menu(); | 1018 | quit = main_menu(); |
1017 | if(!quit) | 1019 | if(!quit) |
1018 | { | 1020 | { |
1021 | #ifndef SIMULATOR | ||
1019 | redraw = true; | 1022 | redraw = true; |
1023 | #endif | ||
1020 | record_data(); | 1024 | record_data(); |
1021 | } | 1025 | } |
1022 | break; | 1026 | break; |