diff options
author | Thomas Martitz <kugel@rockbox.org> | 2009-11-25 22:54:36 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2009-11-25 22:54:36 +0000 |
commit | cfda097394d752fde3b75ec2561ba752cd682e54 (patch) | |
tree | e7e8c59e2ae0937b5b50d8c005984d3431a06c00 /apps/main.c | |
parent | 6c62b1bf3d0279c0b1270e897307ae7c45924608 (diff) | |
download | rockbox-cfda097394d752fde3b75ec2561ba752cd682e54.tar.gz rockbox-cfda097394d752fde3b75ec2561ba752cd682e54.zip |
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
Diffstat (limited to 'apps/main.c')
-rw-r--r-- | apps/main.c | 3 |
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) | |||
622 | #ifdef HAVE_ACCESSORY_SUPPLY | 622 | #ifdef HAVE_ACCESSORY_SUPPLY |
623 | accessory_supply_set(global_settings.accessory_supply); | 623 | accessory_supply_set(global_settings.accessory_supply); |
624 | #endif | 624 | #endif |
625 | #ifdef HAVE_HOTSWAP_STORAGE_AS_MAIN | ||
626 | check_bootfile(false); /* remember write time and filesize */ | ||
627 | #endif | ||
625 | } | 628 | } |
626 | 629 | ||
627 | #ifdef CPU_PP | 630 | #ifdef CPU_PP |