From e49ffb23fc36e8a2ed468c7679219fe42da61889 Mon Sep 17 00:00:00 2001 From: Maurus Cuelenaere Date: Sun, 16 Aug 2009 21:03:22 +0000 Subject: * Onda VX747/VX767: fix target_id & MODEL_NUMBER * Add support to Rockbox Utility for Onda VX747+ & VX777 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22359 a1c6a512-1295-4272-9138-f99709370657 --- tools/configure | 4 ++-- tools/scramble.c | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'tools') diff --git a/tools/configure b/tools/configure index b7fa988..486a470 100755 --- a/tools/configure +++ b/tools/configure @@ -2148,7 +2148,7 @@ fi ;; 120|ondavx747) - target_id=44 + target_id=45 modelname="ondavx747" target="-DONDA_VX747" memory=16 @@ -2170,7 +2170,7 @@ fi ;; 121|ondavx767) - target_id=45 + target_id=64 modelname="ondavx767" target="-DONDA_VX767" memory=16 #FIXME diff --git a/tools/scramble.c b/tools/scramble.c index 5d2b12f..ce06523 100644 --- a/tools/scramble.c +++ b/tools/scramble.c @@ -304,8 +304,6 @@ int main (int argc, char** argv) modelnum = 45; else if (!strcmp(&argv[1][5], "747p")) modelnum = 54; - else if (!strcmp(&argv[1][5], "x777")) - modelnum = 61; else if (!strcmp(&argv[1][5], "y820")) /* Samsung YH-820 */ modelnum = 57; else if (!strcmp(&argv[1][5], "y920")) /* Samsung YH-920 */ @@ -314,6 +312,10 @@ int main (int argc, char** argv) modelnum = 59; else if (!strcmp(&argv[1][5], "clv2")) /* Sansa Clipv2 */ modelnum = 60; + else if (!strcmp(&argv[1][5], "x777")) + modelnum = 61; + else if (!strcmp(&argv[1][5], "x767")) + modelnum = 64; else { fprintf(stderr, "unsupported model: %s\n", &argv[1][5]); return 2; -- cgit v1.1