forked from len0rd/rockbox
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
This commit is contained in:
parent
6c62b1bf3d
commit
cfda097394
4 changed files with 16 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue