From 1c1915c0d120947ca04ae76e42dc513648a7ffa4 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Tue, 21 Mar 2006 14:40:07 +0000 Subject: Add X5 support to scramble git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9168 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/config-iaudiox5.h | 2 +- tools/scramble.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/firmware/export/config-iaudiox5.h b/firmware/export/config-iaudiox5.h index 267fb33..a8456bc 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 642080e..e289fcd 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; -- cgit v1.1