diff options
Diffstat (limited to 'apps/filetree.c')
| -rw-r--r-- | apps/filetree.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/apps/filetree.c b/apps/filetree.c index 5660a9b..4c48710 100644 --- a/apps/filetree.c +++ b/apps/filetree.c @@ -50,17 +50,10 @@ #include "radio.h" #endif -#ifndef SIMULATOR -static int boot_size = 0; -static int boot_cluster; -#endif - #if LCD_DEPTH > 1 #include "backdrop.h" #endif -extern bool boot_changed; - int ft_build_playlist(struct tree_context* c, int start_index) { int i; @@ -266,19 +259,6 @@ int ft_load(struct tree_context* c, const char* tempdir) if ( !(dptr->attr & ATTR_DIRECTORY) ) dptr->attr |= filetype_get_attr((char *)entry->d_name); -#ifdef BOOTFILE - /* memorize/compare details about the boot file */ - if ((c->currdir[1] == 0) && !strcasecmp(entry->d_name, BOOTFILE)) { - if (boot_size) { - if ((entry->size != boot_size) || - (entry->startcluster != boot_cluster)) - boot_changed = true; - } - boot_size = entry->size; - boot_cluster = entry->startcluster; - } -#endif - /* filter out non-visible files */ if ((!(dptr->attr & ATTR_DIRECTORY) && ( (*c->dirfilter == SHOW_PLAYLIST && |