mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 21:25:19 -05:00
Cosmetic - Change the way the detected type of Sansa is displayed and bump version to 0.4-svn.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14756 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8d145a5574
commit
359028fd2c
2 changed files with 3 additions and 5 deletions
|
|
@ -30,7 +30,7 @@
|
||||||
#include "sansaio.h"
|
#include "sansaio.h"
|
||||||
#include "parttypes.h"
|
#include "parttypes.h"
|
||||||
|
|
||||||
#define VERSION "0.3 with v2 bootloader"
|
#define VERSION "0.4-svn"
|
||||||
|
|
||||||
unsigned char* sectorbuf;
|
unsigned char* sectorbuf;
|
||||||
|
|
||||||
|
|
@ -259,8 +259,6 @@ int main(int argc, char* argv[])
|
||||||
return 3;
|
return 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
fprintf(stderr,"[INFO] Sansa %s detected\n",sansa.targetname);
|
|
||||||
|
|
||||||
if (sansa.hasoldbootloader) {
|
if (sansa.hasoldbootloader) {
|
||||||
printf("[ERR] ************************************************************************\n");
|
printf("[ERR] ************************************************************************\n");
|
||||||
printf("[ERR] *** OLD ROCKBOX INSTALLATION DETECTED, ABORTING.\n");
|
printf("[ERR] *** OLD ROCKBOX INSTALLATION DETECTED, ABORTING.\n");
|
||||||
|
|
|
||||||
|
|
@ -517,9 +517,9 @@ int sansa_scan(struct sansa_t* sansa)
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef __WIN32__
|
#ifdef __WIN32__
|
||||||
printf("[INFO] E200 found - disk device %d\n",i);
|
printf("[INFO] %s found - disk device %d\n",sansa->targetname, i);
|
||||||
#else
|
#else
|
||||||
printf("[INFO] E200 found - %s\n",sansa->diskname);
|
printf("[INFO] %s found - %s\n",sansa->targetname, sansa->diskname);
|
||||||
#endif
|
#endif
|
||||||
n++;
|
n++;
|
||||||
strcpy(last_disk,sansa->diskname);
|
strcpy(last_disk,sansa->diskname);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue