From cfda097394d752fde3b75ec2561ba752cd682e54 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Wed, 25 Nov 2009 22:54:36 +0000 Subject: Add HAVE_HOTSWAP_STORAGE_AS_MAIN to detect changed binary after re-inserting the storage on targets that run rockbox from hotswappable storage. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23752 a1c6a512-1295-4272-9138-f99709370657 --- apps/main.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'apps/main.c') 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 -- cgit v1.2.3