summaryrefslogtreecommitdiff
path: root/apps/plugins/grayscale.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/grayscale.c')
-rw-r--r--apps/plugins/grayscale.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/plugins/grayscale.c b/apps/plugins/grayscale.c
index cdb3f880e5..192dcc1738 100644
--- a/apps/plugins/grayscale.c
+++ b/apps/plugins/grayscale.c
@@ -164,6 +164,9 @@ int main(void)
164 rb->lcd_puts(0, 0, pbuf); 164 rb->lcd_puts(0, 0, pbuf);
165 rb->lcd_update(); 165 rb->lcd_update();
166 166
167#if !defined(SIMULATOR) && defined(HAVE_ADJUSTABLE_CPU_FREQ)
168 rb->cpu_boost(true);
169#endif
167 gray_show(true); /* switch on greyscale overlay */ 170 gray_show(true); /* switch on greyscale overlay */
168 171
169 time = *rb->current_tick; /* start time measurement */ 172 time = *rb->current_tick; /* start time measurement */
@@ -223,6 +226,9 @@ int main(void)
223 time / 100, time % 100); 226 time / 100, time % 100);
224 rb->lcd_puts(0, 0, pbuf); 227 rb->lcd_puts(0, 0, pbuf);
225 gray_deferred_lcd_update(); /* schedule an lcd_update() */ 228 gray_deferred_lcd_update(); /* schedule an lcd_update() */
229#if !defined(SIMULATOR) && defined(HAVE_ADJUSTABLE_CPU_FREQ)
230 rb->cpu_boost(false);
231#endif
226 232
227 /* drawing is now finished, play around with scrolling 233 /* drawing is now finished, play around with scrolling
228 * until you press OFF or connect USB 234 * until you press OFF or connect USB