summaryrefslogtreecommitdiff
path: root/apps/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/apps/tree.c b/apps/tree.c
index b5673e681c..70b83f8934 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -1177,9 +1177,7 @@ bool create_playlist(void)
1177 if (fd < 0) 1177 if (fd < 0)
1178 return false; 1178 return false;
1179 1179
1180#ifdef HAVE_ADJUSTABLE_CPU_FREQ 1180 cpu_boost_id(true, CPUBOOSTID_TREE);
1181 cpu_boost(true);
1182#endif
1183 1181
1184 snprintf(filename, sizeof(filename), "%s", 1182 snprintf(filename, sizeof(filename), "%s",
1185 tc.currdir[1] ? tc.currdir : "/"); 1183 tc.currdir[1] ? tc.currdir : "/");
@@ -1187,9 +1185,7 @@ bool create_playlist(void)
1187 add_dir(filename, sizeof(filename), fd); 1185 add_dir(filename, sizeof(filename), fd);
1188 close(fd); 1186 close(fd);
1189 1187
1190#ifdef HAVE_ADJUSTABLE_CPU_FREQ 1188 cpu_boost_id(false, CPUBOOSTID_TREE);
1191 cpu_boost(false);
1192#endif
1193 1189
1194 sleep(HZ); 1190 sleep(HZ);
1195 1191