diff options
author | Dave Chapman <dave@dchapman.com> | 2009-09-16 10:11:41 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2009-09-16 10:11:41 +0000 |
commit | a2c9440eed80157c9d3af5af34adce4bc991bbeb (patch) | |
tree | c4d60825fc6525d2e57f1c0734ad8601ca14ec02 | |
parent | 98f5c30b05865738ae026e1ea7e4d55082577e61 (diff) | |
download | rockbox-a2c9440eed80157c9d3af5af34adce4bc991bbeb.tar.gz rockbox-a2c9440eed80157c9d3af5af34adce4bc991bbeb.zip |
Implement -add for 2nd gen Nano
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22701 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | tools/scramble.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/scramble.c b/tools/scramble.c index ce06523db5..51f672bcd0 100644 --- a/tools/scramble.c +++ b/tools/scramble.c | |||
@@ -125,7 +125,7 @@ void usage(void) | |||
125 | "\t tpj2, c200, e200, giga, gigs, m100, m500, d2,\n"); | 125 | "\t tpj2, c200, e200, giga, gigs, m100, m500, d2,\n"); |
126 | printf("\t 9200, 1630, ldax, m200, c100, clip, e2v2, m2v4,\n" | 126 | printf("\t 9200, 1630, ldax, m200, c100, clip, e2v2, m2v4,\n" |
127 | "\t fuze, c2v2, clv2, y820, y920, y925, x747, 747p, \n" | 127 | "\t fuze, c2v2, clv2, y820, y920, y925, x747, 747p, \n" |
128 | "\t x777)\n"); | 128 | "\t x777, nn2g)\n"); |
129 | printf("\nNo option results in Archos standard player/recorder format.\n"); | 129 | printf("\nNo option results in Archos standard player/recorder format.\n"); |
130 | 130 | ||
131 | exit(1); | 131 | exit(1); |
@@ -314,6 +314,8 @@ int main (int argc, char** argv) | |||
314 | modelnum = 60; | 314 | modelnum = 60; |
315 | else if (!strcmp(&argv[1][5], "x777")) | 315 | else if (!strcmp(&argv[1][5], "x777")) |
316 | modelnum = 61; | 316 | modelnum = 61; |
317 | else if (!strcmp(&argv[1][5], "nn2g")) /* iPod Nano 2nd Gen */ | ||
318 | modelnum = 62; | ||
317 | else if (!strcmp(&argv[1][5], "x767")) | 319 | else if (!strcmp(&argv[1][5], "x767")) |
318 | modelnum = 64; | 320 | modelnum = 64; |
319 | else { | 321 | else { |