Advertising
- Mine
- Saturday, April 19th, 2008 at 6:16:21am MDT
- Index: apps/plugins/pictureflow.c
- ===================================================================
- --- apps/plugins/pictureflow.c (revision 17166)
- +++ apps/plugins/pictureflow.c (working copy)
- @@ -1493,9 +1493,6 @@
- void cleanup(void *parameter)
- {
- (void) parameter;
- -#ifdef HAVE_ADJUSTABLE_CPU_FREQ
- - rb->cpu_boost(false);
- -#endif
- /* Turn on backlight timeout (revert to settings) */
- backlight_use_settings(rb); /* backlight control in lib/helper.c */
- @@ -1947,9 +1944,6 @@
- char fpstxt[10];
- int button;
- -#ifdef HAVE_ADJUSTABLE_CPU_FREQ
- - rb->cpu_boost(true);
- -#endif
- int frames = 0;
- long last_update = *rb->current_tick;
- long current_update;
- @@ -2097,11 +2091,17 @@
- #endif
- /* Turn off backlight timeout */
- backlight_force_on(rb); /* backlight control in lib/helper.c */
- +#ifdef HAVE_ADJUSTABLE_CPU_FREQ
- + rb->cpu_boost(true);
- +#endif
- ret = main();
- +#ifdef HAVE_ADJUSTABLE_CPU_FREQ
- + rb->cpu_boost(false);
- +#endif
- if ( ret == PLUGIN_OK ) {
- if (!write_pfconfig()) {
- rb->splash(HZ, "Error writing config.");
- - return PLUGIN_ERROR;
- + ret = PLUGIN_ERROR;
- }
- }
advertising
Update the Post
Either update this post and resubmit it with changes, or make a new post.
You may also comment on this post.
Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.