summaryrefslogtreecommitdiff
path: root/apps/plugins/test_disk.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/test_disk.c')
-rw-r--r--apps/plugins/test_disk.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/plugins/test_disk.c b/apps/plugins/test_disk.c
index 1429668556..fee6c4d0b0 100644
--- a/apps/plugins/test_disk.c
+++ b/apps/plugins/test_disk.c
@@ -467,10 +467,9 @@ enum plugin_status plugin_start(const void* parameter)
467 467
468 rb->srand(*rb->current_tick); 468 rb->srand(*rb->current_tick);
469 469
470#ifdef HAVE_BACKLIGHT
471 /* Turn off backlight timeout */ 470 /* Turn off backlight timeout */
472 backlight_ignore_timeout(); 471 backlight_ignore_timeout();
473#endif 472
474 473
475 while(!quit) 474 while(!quit)
476 { 475 {
@@ -489,9 +488,8 @@ enum plugin_status plugin_start(const void* parameter)
489 } 488 }
490 489
491 /* Turn on backlight timeout (revert to settings) */ 490 /* Turn on backlight timeout (revert to settings) */
492#ifdef HAVE_BACKLIGHT
493 backlight_use_settings(); 491 backlight_use_settings();
494#endif 492
495 rb->rmdir(testbasedir); 493 rb->rmdir(testbasedir);
496 494
497 return PLUGIN_OK; 495 return PLUGIN_OK;