forked from len0rd/rockbox
Fix Nano2G bootloader installation - no longer assume that the OSOS image is the first.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23154 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
71e79e7dac
commit
c06bc788c9
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ void BootloaderInstallIpod::installStage2(void)
|
|||
emit done(true);
|
||||
return;
|
||||
}
|
||||
if(getmodel(&ipod,(ipod.ipod_directory[0].vers>>8)) < 0) {
|
||||
if(getmodel(&ipod,(ipod.ipod_directory[ipod.ososimage].vers>>8)) < 0) {
|
||||
emit logItem(tr("Unknown version number in firmware (%1)").arg(
|
||||
ipod.ipod_directory[0].vers), LOGERROR);
|
||||
emit done(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue