summaryrefslogtreecommitdiff
path: root/apps/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 6465b50..623046a 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -1229,7 +1229,7 @@ bool create_playlist(void)
if (fd < 0)
return false;
- cpu_boost_id(true, CPUBOOSTID_TREE);
+ trigger_cpu_boost();
snprintf(filename, sizeof(filename), "%s",
tc.currdir[1] ? tc.currdir : "/");
@@ -1237,8 +1237,6 @@ bool create_playlist(void)
add_dir(filename, sizeof(filename), fd);
close(fd);
- cpu_boost_id(false, CPUBOOSTID_TREE);
-
sleep(HZ);
return true;