mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-10 21:55:10 -05:00
Update rbutil to match up with latest sansapatcher changes. Installing c200 bootloader isn't added yet.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14759 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
b9022cf0eb
commit
d3ea919999
2 changed files with 6 additions and 6 deletions
|
|
@ -133,8 +133,8 @@ bool Autodetection::detect()
|
||||||
struct sansa_t sansa;
|
struct sansa_t sansa;
|
||||||
n = sansa_scan(&sansa);
|
n = sansa_scan(&sansa);
|
||||||
if(n == 1) {
|
if(n == 1) {
|
||||||
qDebug() << "Sansa found:" << "sansae200" << "at" << sansa.diskname;
|
qDebug() << "Sansa found:" << sansa.targetname << "at" << sansa.diskname;
|
||||||
m_device = "sansae200";
|
m_device = QString("sansa%1").arg(sansa.targetname);
|
||||||
m_mountpoint = resolveMountPoint(sansa.diskname);
|
m_mountpoint = resolveMountPoint(sansa.diskname);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -923,9 +923,9 @@ void BootloaderInstaller::sansaPrepare()
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
int i = is_e200(&sansa);
|
int i = is_sansa(&sansa);
|
||||||
if (i < 0) {
|
if (i < 0) {
|
||||||
m_dp->addItem(tr("Disk is not an E200 (%1), aborting.").arg(i),LOGERROR);
|
m_dp->addItem(tr("Disk is not a Sansa (%1), aborting.").arg(i),LOGERROR);
|
||||||
emit done(true);
|
emit done(true);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
@ -988,10 +988,10 @@ void BootloaderInstaller::sansaFinish()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
int i = is_e200(&sansa);
|
int i = is_sansa(&sansa);
|
||||||
if (i < 0) {
|
if (i < 0) {
|
||||||
|
|
||||||
m_dp->addItem(tr("Disk is not an E200 (%1), aborting.").arg(i),LOGERROR);
|
m_dp->addItem(tr("Disk is not a Sansa (%1), aborting.").arg(i),LOGERROR);
|
||||||
emit done(true);
|
emit done(true);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue