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.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/plugins/test_disk.c b/apps/plugins/test_disk.c
index 339bcb8020..b689ba672e 100644
--- a/apps/plugins/test_disk.c
+++ b/apps/plugins/test_disk.c
@@ -467,8 +467,10 @@ 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
470 /* Turn off backlight timeout */ 471 /* Turn off backlight timeout */
471 backlight_ignore_timeout(); 472 backlight_ignore_timeout();
473#endif
472 474
473 while(!quit) 475 while(!quit)
474 { 476 {
@@ -487,8 +489,9 @@ enum plugin_status plugin_start(const void* parameter)
487 } 489 }
488 490
489 /* Turn on backlight timeout (revert to settings) */ 491 /* Turn on backlight timeout (revert to settings) */
492#ifdef HAVE_BACKLIGHT
490 backlight_use_settings(); 493 backlight_use_settings();
491 494#endif
492 rb->rmdir(testbasedir); 495 rb->rmdir(testbasedir);
493 496
494 return PLUGIN_OK; 497 return PLUGIN_OK;