summaryrefslogtreecommitdiff
path: root/apps/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/main.c')
-rw-r--r--apps/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/main.c b/apps/main.c
index 145153ba37..3e98343708 100644
--- a/apps/main.c
+++ b/apps/main.c
@@ -622,6 +622,9 @@ static void init(void)
#ifdef HAVE_ACCESSORY_SUPPLY
accessory_supply_set(global_settings.accessory_supply);
#endif
+#ifdef HAVE_HOTSWAP_STORAGE_AS_MAIN
+ check_bootfile(false); /* remember write time and filesize */
+#endif
}
#ifdef CPU_PP