summaryrefslogtreecommitdiffstats
path: root/tools/iriver.c
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-01-28 12:21:52 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-01-28 12:21:52 +0000
commit8d5c168f7f0fc7637a2680f7d814730167665944 (patch)
treeb312d1cb31010156331ac3b94c49e8e766f25edb /tools/iriver.c
parent599b0ff0b1b0f59261e97de123520d1aa91250be (diff)
downloadrockbox-8d5c168f7f0fc7637a2680f7d814730167665944.tar.gz
rockbox-8d5c168f7f0fc7637a2680f7d814730167665944.tar.bz2
rockbox-8d5c168f7f0fc7637a2680f7d814730167665944.zip
Adjusted the max/min sizes for the iriver scrambler
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5688 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/iriver.c')
-rw-r--r--tools/iriver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/iriver.c b/tools/iriver.c
index 0beab80cb2..4d26b981aa 100644
--- a/tools/iriver.c
+++ b/tools/iriver.c
@@ -33,9 +33,9 @@ const char * const models[] = { "iHP-100", "iHP-120/iHP-140", "H300 series",
NULL };
/* aligns with models array; expected min firmware size */
-const unsigned int firmware_minsize[] = { 1000000, 1000000, 2000000 };
+const unsigned int firmware_minsize[] = { 0x100000, 0x100000, 0x200000 };
/* aligns with models array; expected max firmware size */
-const unsigned int firmware_maxsize[] = { 2000000, 2000000, 4000000 };
+const unsigned int firmware_maxsize[] = { 0x200000, 0x200000, 0x400000 };
const unsigned char header[][16] = {
{ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 },