From 8d5c168f7f0fc7637a2680f7d814730167665944 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Fri, 28 Jan 2005 12:21:52 +0000 Subject: Adjusted the max/min sizes for the iriver scrambler git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5688 a1c6a512-1295-4272-9138-f99709370657 --- tools/iriver.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') 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 }, -- cgit v1.2.3