summaryrefslogtreecommitdiffstats
path: root/utils/jz4740_tools/jz4740_usbtool.c
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2008-07-03 12:17:56 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2008-07-03 12:17:56 +0000
commit6fd40a57b81484a57f1c5a8ddbd48855a89e660f (patch)
tree59609082705b4b825ca472a4f65d0ce04bab2925 /utils/jz4740_tools/jz4740_usbtool.c
parentab498e547b9c96bc2ae662cdc4c5fdb5d2db1f35 (diff)
downloadrockbox-6fd40a57b81484a57f1c5a8ddbd48855a89e660f.tar.gz
rockbox-6fd40a57b81484a57f1c5a8ddbd48855a89e660f.tar.bz2
rockbox-6fd40a57b81484a57f1c5a8ddbd48855a89e660f.zip
Jz4740 Tools:
* update Makefile * add README * update svn properties * fix small mistakes git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17926 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/jz4740_tools/jz4740_usbtool.c')
-rw-r--r--[-rwxr-xr-x]utils/jz4740_tools/jz4740_usbtool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/jz4740_tools/jz4740_usbtool.c b/utils/jz4740_tools/jz4740_usbtool.c
index 6d670254e4..165aafb19d 100755..100644
--- a/utils/jz4740_tools/jz4740_usbtool.c
+++ b/utils/jz4740_tools/jz4740_usbtool.c
@@ -199,7 +199,7 @@ int upload_app(usb_dev_handle* dh, int address, unsigned char* p, int len, bool
free(tmp_buf);
fprintf(stderr, "[INFO] Booting device [STAGE%d]...", (stage2 ? 2 : 1));
- SEND_COMMAND((stage2 ? VR_PROGRAM_START2 : VR_PROGRAM_START1), (address+(stage2 ? 8 : 0)) );
+ SEND_COMMAND((stage2 ? VR_PROGRAM_START2 : VR_PROGRAM_START1), address );
fprintf(stderr, " Done!\n");
return 0;