summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2006-03-21 14:40:07 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2006-03-21 14:40:07 +0000
commit1c1915c0d120947ca04ae76e42dc513648a7ffa4 (patch)
treebbdbe7fe8c6168222356819c271cee2069169f21
parentdced47b1ff55c991b898a9ac9670027c08510c59 (diff)
downloadrockbox-1c1915c0d120947ca04ae76e42dc513648a7ffa4.tar.gz
rockbox-1c1915c0d120947ca04ae76e42dc513648a7ffa4.tar.bz2
rockbox-1c1915c0d120947ca04ae76e42dc513648a7ffa4.zip
Add X5 support to scramble
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9168 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/export/config-iaudiox5.h2
-rw-r--r--tools/scramble.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/firmware/export/config-iaudiox5.h b/firmware/export/config-iaudiox5.h
index 267fb33ce8..a8456bc846 100644
--- a/firmware/export/config-iaudiox5.h
+++ b/firmware/export/config-iaudiox5.h
@@ -3,7 +3,7 @@
*/
/* For Rolo and boot loader */
-#define MODEL_NUMBER 1
+#define MODEL_NUMBER 10
/* define this if you have recording possibility */
/*#define HAVE_RECORDING 1*/
diff --git a/tools/scramble.c b/tools/scramble.c
index 642080e699..e289fcdc24 100644
--- a/tools/scramble.c
+++ b/tools/scramble.c
@@ -72,7 +72,7 @@ void usage(void)
"\t-iaudio iAudio format\n"
"\t-add=X Rockbox generic \"add-up\" checksum format\n"
"\t (X values: h100, h120, h140, h300, ipco, nano, ipvd\n"
- "\t ip3g, ip4g, mini)\n"
+ "\t ip3g, ip4g, mini, x5)\n"
"\nNo option results in Archos standard player/recorder format.\n");
exit(1);
@@ -180,6 +180,8 @@ int main (int argc, char** argv)
modelnum = 8;
else if(!strcmp(&argv[1][5], "mini"))
modelnum = 9;
+ else if(!strcmp(&argv[1][5], "iax5"))
+ modelnum = 10;
else {
fprintf(stderr, "unsupported model: %s\n", &argv[1][5]);
return 2;