1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
diff --git a/apps/plugins/SOURCES b/apps/plugins/SOURCES
index 8ecb2fb..56eb8e1 100644
--- a/apps/plugins/SOURCES
+++ b/apps/plugins/SOURCES
@@ -236,6 +236,9 @@ test_greylib_bitmap_scale.c
 test_mem.c
 #ifdef HAVE_LCD_BITMAP
 test_mem_jpeg.c
+#if LCD_DEPTH < 4
+test_scanrate.c
+#endif
 #endif
 #ifdef HAVE_LCD_COLOR
 test_resize.c
@@ -243,7 +246,6 @@ test_resize.c
 #if CONFIG_CODEC == SWCODEC
 test_sampr.c
 #endif
-test_scanrate.c
 #ifdef HAVE_TOUCHSCREEN
 test_touchscreen.c
 #endif
diff --git a/apps/plugins/test_scanrate.c b/apps/plugins/test_scanrate.c
index 81d8248..d29544f 100644
--- a/apps/plugins/test_scanrate.c
+++ b/apps/plugins/test_scanrate.c
@@ -21,10 +21,6 @@

 #include "plugin.h"

-#if defined(HAVE_LCD_BITMAP) && (LCD_DEPTH < 4) && !defined(SIMULATOR)
-
-
-
 #if (CONFIG_KEYPAD == RECORDER_PAD) || (CONFIG_KEYPAD == ONDIO_PAD) \
  || (CONFIG_KEYPAD == IRIVER_H100_PAD)
 #define SCANRATE_DONE    BUTTON_OFF
@@ -245,5 +241,3 @@ enum plugin_status plugin_start(const void* parameter)
     (void)parameter;
     return plugin_main();
 }
-
-#endif