summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/plugins/SOURCES1
-rw-r--r--apps/plugins/test_fps.c9
-rw-r--r--firmware/export/config-e200v2.h3
-rw-r--r--firmware/export/config-fuze.h4
4 files changed, 14 insertions, 3 deletions
diff --git a/apps/plugins/SOURCES b/apps/plugins/SOURCES
index d9ed9ac24f..9317ab6657 100644
--- a/apps/plugins/SOURCES
+++ b/apps/plugins/SOURCES
@@ -1,4 +1,5 @@
/* plugins common to all models */
+test_fps.c
chessclock.c
credits.c
cube.c
diff --git a/apps/plugins/test_fps.c b/apps/plugins/test_fps.c
index c688a54de0..f7027ffd8d 100644
--- a/apps/plugins/test_fps.c
+++ b/apps/plugins/test_fps.c
@@ -349,12 +349,19 @@ enum plugin_status plugin_start(const void* parameter)
#endif
backlight_force_on(); /* backlight control in lib/helper.c */
- log_text("Main LCD Update");
+ rb->cpu_boost(false);
+ log_text("Main LCD Update unboosted");
time_main_update();
+ rb->cpu_boost(true);
+ log_text("Main LCD Update boosted");
+ time_main_update();
+ rb->cpu_boost(false);
+/*
#ifdef HAVE_LCD_COLOR
log_text("Main LCD YUV");
time_main_yuv();
#endif
+*/
#if LCD_DEPTH < 4
log_text("Greyscale library");
time_greyscale();
diff --git a/firmware/export/config-e200v2.h b/firmware/export/config-e200v2.h
index 7f993be512..dbd3b0c0ee 100644
--- a/firmware/export/config-e200v2.h
+++ b/firmware/export/config-e200v2.h
@@ -66,7 +66,8 @@
/* define this if you can invert the colours on your LCD */
#define HAVE_LCD_INVERT
-/* #define IRAM_LCDFRAMEBUFFER IDATA_ATTR *//* put the lcd frame buffer in IRAM */
+/* put the lcd frame buffer in IRAM */
+#define IRAM_LCDFRAMEBUFFER IBSS_ATTR
#define CONFIG_KEYPAD SANSA_E200_PAD
diff --git a/firmware/export/config-fuze.h b/firmware/export/config-fuze.h
index a5ccf63180..51b2180217 100644
--- a/firmware/export/config-fuze.h
+++ b/firmware/export/config-fuze.h
@@ -70,7 +70,9 @@
#define HAVE_SW_TONE_CONTROLS
#endif /* !BOOTLOADER */
-/* #define IRAM_LCDFRAMEBUFFER IDATA_ATTR *//* put the lcd frame buffer in IRAM */
+
+/* put the lcd frame buffer in IRAM */
+#define IRAM_LCDFRAMEBUFFER IBSS_ATTR
#define CONFIG_KEYPAD SANSA_FUZE_PAD